Completed
Push — master ( 60109a...527079 )
by Jasper
07:00
created
src/Item.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
                 $included = $included->merge($includedFromRelationship->getIncluded());
210 210
             } elseif ($includedFromRelationship instanceof Collection) {
211 211
                 $includedFromRelationship->each(
212
-                    function (ItemInterface $item) use (&$included) {
212
+                    function(ItemInterface $item) use (&$included) {
213 213
                         if ($item->canBeIncluded()) {
214 214
                             $included->push($item->toJsonApiArray());
215 215
                         }
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
 
224 224
         return $included
225 225
             ->unique(
226
-                function (array $item) {
226
+                function(array $item) {
227 227
                     return $item['type'].':'.$item['id'];
228 228
                 }
229 229
             )
Please login to merge, or discard this patch.