chore: fixes test suite

This commit is contained in:
Nuno Maduro
2021-03-13 11:06:34 +00:00
parent 1f39b8d239
commit 3589f3d5e7
4 changed files with 4 additions and 1 deletions

View File

@ -79,6 +79,7 @@ final class Container
if ($candidate === null) {
$type = $param->getType();
/* @phpstan-ignore-next-line */
if ($type !== null && $type->isBuiltin()) {
$candidate = $param->getName();
} else {