Completed
Push — master ( a654a8...533fff )
by Jasper
11:19
created
src/Parsers/DocumentParser.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -202,13 +202,13 @@  discard block
 block discarded – undo
202 202
     private function linkRelationships(Collection $items): void
203 203
     {
204 204
         $keyedItems = $items->keyBy(
205
-            function (ItemInterface $item) {
205
+            function(ItemInterface $item) {
206 206
                 return $this->getItemKey($item);
207 207
             }
208 208
         );
209 209
 
210 210
         $items->each(
211
-            function (ItemInterface $item) use ($keyedItems) {
211
+            function(ItemInterface $item) use ($keyedItems) {
212 212
                 foreach ($item->getRelations() as $name => $relation) {
213 213
                     if ($relation instanceof OneRelationInterface) {
214 214
                         /** @var \Swis\JsonApi\Client\Interfaces\ItemInterface|null $relatedItem */
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
      */
268 268
     private function getDuplicateItems(Collection $items): Collection
269 269
     {
270
-        $valueRetriever = function (ItemInterface $item) {
270
+        $valueRetriever = function(ItemInterface $item) {
271 271
             return $this->getItemKey($item);
272 272
         };
273 273
 
Please login to merge, or discard this patch.