Skip to content

Commit

Permalink
Fix incorrect assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
lcobucci committed Feb 22, 2022
1 parent 4671560 commit 5803030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ private function loadContainer(ContainerConfiguration $config, ConfigCache $dump
{
require_once $dump->getPath();
$className = $config->getClassName();
assert(is_a($className, ContainerInterface::class));
assert(is_a($className, ContainerInterface::class, true));

return new $className();
}
Expand Down

0 comments on commit 5803030

Please sign in to comment.