Skip to content

Commit bdd8052

Browse files
committed
QA fix
1 parent 7888f87 commit bdd8052

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Hydrators/HydratorsContainer.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ public function findHydrator(JsonAPIDocument\IDocument $document): ?Hydrator
6767
$schema = $this->getSchemaContainer()
6868
->getSchemaByClassName($hydrator->getEntityName());
6969

70-
if ($schema->getType() === $document->getResource()
71-
->getType()) {
70+
if ($schema->getType() === $document->getResource()->getType()) {
7271
return $hydrator;
7372
}
7473
}

0 commit comments

Comments
 (0)