Completed
Pull Request — master (#3)
by Pavel
01:18
created
src/JsonApiHydrator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
                         $this->hydrateToManyAssociation($entity, $name,
52 52
                             $metadata->associationMappings[$name],
53 53
                             array_map(
54
-                                function ($relation) {
54
+                                function($relation) {
55 55
                                     if (isset($relation['id']) && isset($relation['type'])) {
56 56
                                         return $relation['id'];
57 57
                                     }
Please login to merge, or discard this patch.