Skip to content

Commit

Permalink
QA fix
Browse files Browse the repository at this point in the history
  • Loading branch information
akadlec committed Jan 12, 2022
1 parent 7888f87 commit bdd8052
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Hydrators/HydratorsContainer.php
Expand Up @@ -67,8 +67,7 @@ public function findHydrator(JsonAPIDocument\IDocument $document): ?Hydrator
$schema = $this->getSchemaContainer()
->getSchemaByClassName($hydrator->getEntityName());

if ($schema->getType() === $document->getResource()
->getType()) {
if ($schema->getType() === $document->getResource()->getType()) {
return $hydrator;
}
}
Expand Down

0 comments on commit bdd8052

Please sign in to comment.