We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02b05e5 commit e936512Copy full SHA for e936512
src/Serializer/JsonApiSerializer.php
@@ -70,7 +70,7 @@ private function mapUrls(JsonApiTransformer $transformer, Router $router)
70
$mappingProperty = $mappingClass->getProperty('relationshipSelfUrl');
71
$mappingProperty->setAccessible(true);
72
$relationshipSelfUrl = $mappingProperty->getValue($mapping);
73
- if (empty($relationshipSelfUrl) {
+ if (empty($relationshipSelfUrl)) {
74
$relationshipSelfUrl = [];
75
}
76
foreach ($relationshipSelfUrl as &$urlMember) {
0 commit comments