Passed
Push — master ( 435ddd...eaf173 )
by Enjoys
01:53
created
src/Parse/Json.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
         }
58 58
 
59 59
 
60
-        $this->logger->error("(" . json_last_error() . ") " . json_last_error_msg());
60
+        $this->logger->error("(".json_last_error().") ".json_last_error_msg());
61 61
 
62 62
         return null;
63 63
     }
Please login to merge, or discard this patch.
src/Parse.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,8 +48,8 @@
 block discarded – undo
48 48
 
49 49
     public function __construct(string $config)
50 50
     {
51
-         $this->configSource = $config;
52
-         $this->logger = new \Psr\Log\NullLogger();
51
+            $this->configSource = $config;
52
+            $this->logger = new \Psr\Log\NullLogger();
53 53
     }
54 54
 
55 55
     public function parse()
Please login to merge, or discard this patch.
src/Config.php 2 patches
Indentation   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,6 @@  discard block
 block discarded – undo
33 33
 
34 34
 /**
35 35
  * Description of Config
36
-
37 36
  * @author Enjoys
38 37
  */
39 38
 class Config implements \Psr\Log\LoggerAwareInterface
@@ -85,7 +84,7 @@  discard block
 block discarded – undo
85 84
     
86 85
     private function parse(string $parseClass, string $config, $options, ?string $namespace = null)
87 86
     {
88
-       /** @var  ParseInterface $parser */
87
+        /** @var  ParseInterface $parser */
89 88
         $parser = new $parseClass($config);
90 89
         $parser->setOptions($options);
91 90
         $parser->setLogger($this->logger);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
             }
77 77
         }
78 78
         
79
-        if(is_string($config)){
79
+        if (is_string($config)) {
80 80
             $this->parse($parseClass, $config, $options);
81 81
         }
82 82
 
Please login to merge, or discard this patch.