Completed
Push — master ( e014ef...46142e )
by Toby
63:09
created
src/Document.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
                     // If this resource is the same as the top-level "data"
85 85
                     // resource, then we don't want it to show up again in the
86 86
                     // "included" array.
87
-                    if (! $includeParent && $child->getType() === $type && $child->getId() === $id) {
87
+                    if (!$includeParent && $child->getType() === $type && $child->getId() === $id) {
88 88
                         continue;
89 89
                     }
90 90
 
@@ -169,11 +169,11 @@  discard block
 block discarded – undo
169 169
     {
170 170
         $document = [];
171 171
 
172
-        if (! empty($this->links)) {
172
+        if (!empty($this->links)) {
173 173
             $document['links'] = $this->links;
174 174
         }
175 175
 
176
-        if (! empty($this->data)) {
176
+        if (!empty($this->data)) {
177 177
             $document['data'] = $this->data->toArray();
178 178
 
179 179
             $resources = $this->getIncluded($this->data);
@@ -185,15 +185,15 @@  discard block
 block discarded – undo
185 185
             }
186 186
         }
187 187
 
188
-        if (! empty($this->meta)) {
188
+        if (!empty($this->meta)) {
189 189
             $document['meta'] = $this->meta;
190 190
         }
191 191
 
192
-        if (! empty($this->errors)) {
192
+        if (!empty($this->errors)) {
193 193
             $document['errors'] = $this->errors;
194 194
         }
195 195
 
196
-        if (! empty($this->jsonapi)) {
196
+        if (!empty($this->jsonapi)) {
197 197
             $document['jsonapi'] = $this->jsonapi;
198 198
         }
199 199
 
Please login to merge, or discard this patch.