Passed
Push — master ( a2cbe7...2fe3bc )
by Serhii
02:56 queued 01:29
created
src/ModelDetector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@
 block discarded – undo
29 29
         }
30 30
         $patternList = $this->config[$name];
31 31
         foreach ($patternList as $series => $data) {
32
-            if(array_key_exists('pattern', $data)) {
33
-                $this->detectModelByPattern($series,$data['pattern']);
32
+            if (array_key_exists('pattern', $data)) {
33
+                $this->detectModelByPattern($series, $data['pattern']);
34 34
             } elseif (array_key_exists('models', $data)) {
35 35
                 $this->detectModelByModelList($series, $data['models']);
36 36
             }
Please login to merge, or discard this patch.
src/AbstractDetection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      */
52 52
     protected function initResultObject()
53 53
     {
54
-        if(!array_key_exists('default', $this->config)) {
54
+        if (!array_key_exists('default', $this->config)) {
55 55
             return null;
56 56
         }
57 57
         // init default value from data
Please login to merge, or discard this patch.