Passed
Push — 2.0 ( 6cb80b...404407 )
by Samuel
02:35
created
src/JsonApi/ErrorCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
     public function validatedContent(string $type): ErrorHandledCollectionInterface
77 77
     {
78 78
         foreach ($this->items as $item) {
79
-            if (! $item instanceof $type) {
79
+            if (!$item instanceof $type) {
80 80
                 throw new InvalidContentException('All items on ['.self::class.'] must to be instances of ['.$type.'].');
81 81
             }
82 82
         }
Please login to merge, or discard this patch.