Completed
Push — master ( fd9f50...d3a0f4 )
by
unknown
02:03
created
src/Helper/RelationshipPropertyExtractor.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
      */
123 123
     protected static function isAllowedEloquentModelFunction($name)
124 124
     {
125
-         return false === in_array($name, self::$forbiddenFunction, true);
125
+            return false === in_array($name, self::$forbiddenFunction, true);
126 126
     }
127 127
 
128 128
     /**
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,11 +88,11 @@
 block discarded – undo
88 88
                                     if (\is_object($relationData)) {
89 89
                                         //Collection with Models
90 90
                                         foreach ($relationData as $model) {
91
-                                            if(\is_object($model)) {
91
+                                            if (\is_object($model)) {
92 92
                                                 $items[] = self::getModelData($serializer, $model);
93 93
                                             }
94 94
                                         }
95
-                                    } elseif(\is_object($relationData) && $relationData instanceof Model) {
95
+                                    } elseif (\is_object($relationData) && $relationData instanceof Model) {
96 96
                                         //Single element returned.
97 97
                                         $items[] = self::getModelData($serializer, $relationData);
98 98
                                     }
Please login to merge, or discard this patch.