@@ -74,7 +74,7 @@ |
||
| 74 | 74 | if (is_callable([$this, $method])) { |
| 75 | 75 | $relationship = $this->$method($model); |
| 76 | 76 | |
| 77 | - if ($relationship !== null && ! ($relationship instanceof Relationship)) { |
|
| 77 | + if ($relationship !== null && !($relationship instanceof Relationship)) { |
|
| 78 | 78 | throw new LogicException('Relationship method must return null or an instance of Tobscure\JsonApi\Relationship'); |
| 79 | 79 | } |
| 80 | 80 | |