@@ -22,7 +22,7 @@ |
||
| 22 | 22 | public function validate($value) |
| 23 | 23 | { |
| 24 | 24 | if ( |
| 25 | - ! $value instanceof $this->type |
|
| 25 | + !$value instanceof $this->type |
|
| 26 | 26 | ) { |
| 27 | 27 | throw WrongType::withMessage("must be of type {$this->type}"); |
| 28 | 28 | } |