Passed
Push — master ( 3b3272...b4bd28 )
by Enjoys
10:32
created
src/AssetsCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,12 +60,12 @@
 block discarded – undo
60 60
 
61 61
     public function push(AssetsCollection $collection)
62 62
     {
63
-        $this->assets =  array_merge_recursive($this->getAssets(), $collection->getAssets());
63
+        $this->assets = array_merge_recursive($this->getAssets(), $collection->getAssets());
64 64
     }
65 65
 
66 66
     public function unshift(AssetsCollection $collection)
67 67
     {
68
-        $this->assets =  array_merge_recursive($collection->getAssets(), $this->getAssets());
68
+        $this->assets = array_merge_recursive($collection->getAssets(), $this->getAssets());
69 69
     }
70 70
 
71 71
     public function getAssets(): array
Please login to merge, or discard this patch.
src/Assets.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
             );
63 63
         }
64 64
 
65
-        if(!in_array($method, ['push', 'unshift'],true)){
65
+        if (!in_array($method, ['push', 'unshift'], true)) {
66 66
             throw new \InvalidArgumentException('Allowed methods only `push` and `unshift`');
67 67
         }
68 68
 
Please login to merge, or discard this patch.