Passed
Push — master ( 4b1837...4f768a )
by Hector Luis
21:01
created
Console/Command/Configuration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,8 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
Configuration/General.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.