Passed
Push — master ( ccb079...7906b4 )
by Paul
04:39
created
plugin/Modules/Html/Builder.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -326,7 +326,8 @@
 block discarded – undo
326 326
         }
327 327
         if (is_array($parameter1)) {
328 328
             $this->args += $parameter1;
329
-        } elseif (is_array($parameter2)) {
329
+        }
330
+        elseif (is_array($parameter2)) {
330 331
             $this->args += $parameter2;
331 332
         }
332 333
         if (!isset($this->args['is_public'])) {
Please login to merge, or discard this patch.
plugin/Addons/Addon.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,8 @@
 block discarded – undo
54 54
     }
55 55
 
56 56
     public function make($class)
57
-    {}
57
+    {
58
+}
58 59
 
59 60
     /**
60 61
      * @return void
Please login to merge, or discard this patch.
plugin/Blocks/BlockGenerator.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,8 @@
 block discarded – undo
25 25
         $attributes['hide'] = implode(',', array_keys($hide));
26 26
         if ('post_id' === Arr::get($attributes, 'assigned_to')) {
27 27
             $attributes['assigned_to'] = $attributes['post_id'];
28
-        } elseif ('parent_id' === Arr::get($attributes, 'assigned_to')) {
28
+        }
29
+        elseif ('parent_id' === Arr::get($attributes, 'assigned_to')) {
29 30
             $attributes['assigned_to'] = wp_get_post_parent_id($attributes['post_id']);
30 31
         }
31 32
         return $attributes;
Please login to merge, or discard this patch.
plugin/Helpers/Arr.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,8 @@
 block discarded – undo
64 64
                 if ($flattenValue) {
65 65
                     $value = '['.implode(', ', $value).']';
66 66
                 }
67
-            } elseif (is_array($value)) {
67
+            }
68
+            elseif (is_array($value)) {
68 69
                 $result = array_merge($result, static::flatten($value, $flattenValue, $newKey));
69 70
                 continue;
70 71
             }
Please login to merge, or discard this patch.