Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 4086e64

Browse files
authored
Use setParentDocument() instead of deprecated setParent()
1 parent fa70f69 commit 4086e64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Adapter/PhpcrOdmAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public function createAutoRoute(UriContext $uriContext, $contentDocument, $autoR
127127

128128
if (null === $document) {
129129
$document = new Generic();
130-
$document->setParent($parentDocument);
130+
$document->setParentDocument($parentDocument);
131131
$document->setNodeName($segment);
132132
$this->dm->persist($document);
133133
}

0 commit comments

Comments
 (0)