@@ -67,13 +67,13 @@ |
||
| 67 | 67 | public function hydrateRelationships(Collection $jsonApiItems, Collection $items) |
| 68 | 68 | { |
| 69 | 69 | $keyedItems = $items->reverse()->keyBy( |
| 70 | - function (ItemInterface $item) { |
|
| 70 | + function(ItemInterface $item) { |
|
| 71 | 71 | return $this->getItemKey($item); |
| 72 | 72 | } |
| 73 | 73 | ); |
| 74 | 74 | |
| 75 | 75 | $jsonApiItems->each( |
| 76 | - function (ResourceItemInterface $jsonApiItem) use ($keyedItems) { |
|
| 76 | + function(ResourceItemInterface $jsonApiItem) use ($keyedItems) { |
|
| 77 | 77 | if (!$jsonApiItem->has('relationships')) { |
| 78 | 78 | return; |
| 79 | 79 | } |