Completed
Pull Request — master (#15)
by Mads
24:44
created
src/Transformers/ApiTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
         foreach ($relationships as $relationshipName => $relationship) {
116 116
             if (true === $relationship instanceof Collection) {
117 117
                 // do not transform empty relationships
118
-                if($relationship->isEmpty()) {
118
+                if ($relationship->isEmpty()) {
119 119
                     continue;
120 120
                 }
121 121
 
Please login to merge, or discard this patch.