From 62ae8d2865d48b254ff1ee039c629830311fa953 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 15 Feb 2024 19:05:31 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/ParameterDefinition.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ParameterDefinition.php b/src/ParameterDefinition.php index 70e8bca..d71c4e6 100644 --- a/src/ParameterDefinition.php +++ b/src/ParameterDefinition.php @@ -47,7 +47,7 @@ public function hasValue(): bool public function resolve(ContainerInterface $container): mixed { - /** @var ReflectionNamedType|ReflectionUnionType|ReflectionIntersectionType|null $type */ + /** @var ReflectionIntersectionType|ReflectionNamedType|ReflectionUnionType|null $type */ $type = $this->parameter->getType(); if ($type instanceof ReflectionUnionType) { @@ -147,7 +147,7 @@ private function resolveUnionType(ContainerInterface $container): mixed $parameterType = $this->parameter->getType(); /** - * @var ReflectionNamedType[]|ReflectionIntersectionType[] $types + * @var ReflectionIntersectionType[]|ReflectionNamedType[] $types */ $types = $parameterType->getTypes(); $class = implode('|', $types);