@@ -76,7 +76,7 @@ |
||
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 | } |