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

Commit 2f18b50

Browse files
committed
CS fix
1 parent 8c7e739 commit 2f18b50

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Adapter/PhpcrOdmAdapter.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ public function createAutoRoute(UriContext $uriContext, $contentDocument, $autoR
116116
{
117117
$basePath = $this->baseRoutePath;
118118
$document = $parentDocument = $this->dm->find(null, $basePath);
119+
119120
if (null === $parentDocument) {
120121
throw new \RuntimeException(sprintf('The "route_basepath" configuration points to a non-existant path "%s".',
121122
$basePath
@@ -159,6 +160,7 @@ public function createAutoRoute(UriContext $uriContext, $contentDocument, $autoR
159160
)
160161
);
161162
}
163+
162164
$headRoute = new $this->autoRouteFqcn();
163165
$headRoute->setContent($contentDocument);
164166
$headRoute->setName($headName);

0 commit comments

Comments
 (0)