@@ -70,9 +70,9 @@ discard block |
||
| 70 | 70 | |
| 71 | 71 | public function validateCollectionParam(ValidationContext $context) |
| 72 | 72 | { |
| 73 | - if (! empty ($this->collection)) { |
|
| 73 | + if (!empty ($this->collection)) { |
|
| 74 | 74 | |
| 75 | - if (! class_exists($this->collection)) { |
|
| 75 | + if (!class_exists($this->collection)) { |
|
| 76 | 76 | throw $this->createValidationException( |
| 77 | 77 | $context, |
| 78 | 78 | "The collection class '{$this->collection}' does not exist'" |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | |
| 82 | 82 | $expectedType = Collection::class; |
| 83 | 83 | |
| 84 | - if (! is_a($this->collection, $expectedType, true)) { |
|
| 84 | + if (!is_a($this->collection, $expectedType, true)) { |
|
| 85 | 85 | throw $this->createValidationException( |
| 86 | 86 | $context, |
| 87 | 87 | "The collection class '{$this->collection}' must be instance of '{$expectedType}'" |