@@ -54,8 +54,8 @@ |
||
| 54 | 54 | protected function launch(OutputInterface $output) |
| 55 | 55 | { |
| 56 | 56 | $output->writeln("Launching config command..."); |
| 57 | - $enabled = $this->generalConfiguration->isEnabled(); |
|
| 58 | - $debug = $this->generalConfiguration->inDebugMode(); |
|
| 57 | + $enabled = $this->generalConfiguration->isEnabled(); |
|
| 58 | + $debug = $this->generalConfiguration->inDebugMode(); |
|
| 59 | 59 | $output->writeln("Enabled: $enabled"); |
| 60 | 60 | $output->writeln("Debug Mode: $debug"); |
| 61 | 61 | } |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | */ |
| 30 | 30 | public function isEnabled($storeId = null): bool |
| 31 | 31 | { |
| 32 | - return (bool)$this->getConfig($this->getLocalPath(self::ENABLED_FIELD), $storeId); |
|
| 32 | + return (bool) $this->getConfig($this->getLocalPath(self::ENABLED_FIELD), $storeId); |
|
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | /** |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | */ |
| 38 | 38 | public function isProductionEnvironment($storeId = null): bool |
| 39 | 39 | { |
| 40 | - return (bool)$this->getConfig($this->getLocalPath(self::PRODUCTION_ENVIRONMENT_FIELD), $storeId); |
|
| 40 | + return (bool) $this->getConfig($this->getLocalPath(self::PRODUCTION_ENVIRONMENT_FIELD), $storeId); |
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | /** |
@@ -45,6 +45,6 @@ discard block |
||
| 45 | 45 | */ |
| 46 | 46 | public function inDebugMode($storeId = null):bool |
| 47 | 47 | { |
| 48 | - return (bool)$this->getConfig($this->getLocalPath(self::DEBUG_MODE_FIELD), $storeId); |
|
| 48 | + return (bool) $this->getConfig($this->getLocalPath(self::DEBUG_MODE_FIELD), $storeId); |
|
| 49 | 49 | } |
| 50 | 50 | } |