Completed
Pull Request — master (#45)
by Jasper
11:58
created
src/Item.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
                 $included = $included->merge($item->getIncluded());
190 190
             } elseif ($relationship instanceof ManyRelationInterface) {
191 191
                 $relationship->getIncluded()->each(
192
-                    function (ItemInterface $item) use (&$included) {
192
+                    function(ItemInterface $item) use (&$included) {
193 193
                         if ($item->canBeIncluded()) {
194 194
                             $included->push($item->toJsonApiArray());
195 195
                         }
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
 
202 202
         return $included
203 203
             ->unique(
204
-                function (array $item) {
204
+                function(array $item) {
205 205
                     return $item['type'].':'.$item['id'];
206 206
                 }
207 207
             )
Please login to merge, or discard this patch.