Completed
Branch master (5bd241)
by Anton
03:22
created
src/ResourceTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
                 if (!is_array($relation)) {
62 62
                     $relation = [$relation];
63 63
                 }
64
-                foreach($relation as $item) {
64
+                foreach ($relation as $item) {
65 65
                     if ($item instanceof ResourceIdentifierInterface) {
66 66
                         $relationships[$name]['data'] = ['id' => $item->getId(), 'type' => $item->getType()];
67 67
                     }
Please login to merge, or discard this patch.