From a03a5cd0ffda9375052de8e20a2c8174e4556609 Mon Sep 17 00:00:00 2001 From: Andy Irvine Date: Fri, 21 Apr 2017 14:28:14 +0100 Subject: [PATCH] Shortened a couple of lines. --- Model/Processor.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Model/Processor.php b/Model/Processor.php index f17813a..9924a2b 100644 --- a/Model/Processor.php +++ b/Model/Processor.php @@ -132,7 +132,11 @@ private function runIndividualComponents() $masterConfig = $master[$componentAlias]; // Run that component - $this->state->emulateAreaCode(Area::AREA_ADMINHTML, [$this, 'runComponent'], [$componentAlias, $masterConfig]); + $this->state->emulateAreaCode( + Area::AREA_ADMINHTML, + [$this, 'runComponent'], + [$componentAlias, $masterConfig] + ); } } catch (ComponentException $e) { $this->log->logError($e->getMessage()); @@ -150,7 +154,11 @@ private function runAllComponents() foreach ($master as $componentAlias => $componentConfig) { // Run the component in question - $this->state->emulateAreaCode(Area::AREA_ADMINHTML, [$this, 'runComponent'], [$componentAlias, $componentConfig]); + $this->state->emulateAreaCode( + Area::AREA_ADMINHTML, + [$this, 'runComponent'], + [$componentAlias, $componentConfig] + ); } } catch (ComponentException $e) { $this->log->logError($e->getMessage());