Completed
Pull Request — master (#127)
by
unknown
61:34
created
src/AbstractSerializer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.