src/objects/ErrorObject.php 1 location
|
@@ 279-281 (lines=3) @@
|
| 276 |
|
if ($this->detail !== null) { |
| 277 |
|
return false; |
| 278 |
|
} |
| 279 |
|
if ($this->links !== null && $this->links->isEmpty() === false) { |
| 280 |
|
return false; |
| 281 |
|
} |
| 282 |
|
if ($this->source !== []) { |
| 283 |
|
return false; |
| 284 |
|
} |
src/objects/RelationshipObject.php 1 location
|
@@ 267-269 (lines=3) @@
|
| 264 |
|
if ($this->type === RelationshipObject::TO_MANY && $this->resources !== []) { |
| 265 |
|
return false; |
| 266 |
|
} |
| 267 |
|
if ($this->links !== null && $this->links->isEmpty() === false) { |
| 268 |
|
return false; |
| 269 |
|
} |
| 270 |
|
if ($this->meta !== null && $this->meta->isEmpty() === false) { |
| 271 |
|
return false; |
| 272 |
|
} |
src/objects/ResourceObject.php 2 locations
|
@@ 188-190 (lines=3) @@
|
| 185 |
|
if ($this->relationships !== null && $this->relationships->isEmpty() === false) { |
| 186 |
|
return false; |
| 187 |
|
} |
| 188 |
|
if ($this->links !== null && $this->links->isEmpty() === false) { |
| 189 |
|
return false; |
| 190 |
|
} |
| 191 |
|
|
| 192 |
|
return true; |
| 193 |
|
} |
|
@@ 227-229 (lines=3) @@
|
| 224 |
|
if ($this->relationships !== null && $this->relationships->isEmpty() === false) { |
| 225 |
|
return false; |
| 226 |
|
} |
| 227 |
|
if ($this->links !== null && $this->links->isEmpty() === false) { |
| 228 |
|
return false; |
| 229 |
|
} |
| 230 |
|
|
| 231 |
|
return true; |
| 232 |
|
} |