Skip to content

Commit 45f3f90

Browse files
committed
Fix
1 parent b050abd commit 45f3f90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/AttributeResolver.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ protected function resolveProperty(
279279
$relation->asSelfReference();
280280
}
281281
$this->relations[$property->getName()] = $relation;
282-
if (!$property->isRefPointerToSelf()) {
282+
if (!$property->isRefPointerToSelf() && $property->hasRefItems()) {
283283
$this->addInverseRelation($relatedClassName, $attribute, $property, $fkProperty);
284284
}
285285
}

0 commit comments

Comments
 (0)