diff --git a/src/ContainerResolver.php b/src/ContainerResolver.php index 699749e..6485b58 100644 --- a/src/ContainerResolver.php +++ b/src/ContainerResolver.php @@ -44,7 +44,7 @@ final class ContainerResolver if (is_string($concrete)) { // some of the path helpers actually return a string when being resolved $concreteClass = $concrete; - } else if (is_object($concrete)) { + } elseif (is_object($concrete)) { // normally we have an object resolved $concreteClass = get_class($concrete); } else { diff --git a/src/ReturnTypeProvider/AppReturnTypeProvider.php b/src/ReturnTypeProvider/AppReturnTypeProvider.php index 6cafb0e..c4d559f 100644 --- a/src/ReturnTypeProvider/AppReturnTypeProvider.php +++ b/src/ReturnTypeProvider/AppReturnTypeProvider.php @@ -51,7 +51,7 @@ final class AppReturnTypeProvider implements FunctionReturnTypeProviderInterface StatementsSource $source, string $fq_classlike_name, string $method_name_lowercase, - array $call_args, + array $call_args, Context $context, CodeLocation $code_location, ?array $template_type_parameters = null,