File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1212use ReflectionMethod ;
1313use ReflectionNamedType ;
1414use ReflectionParameter ;
15- use ReflectionType ;
1615use ReflectionUnionType ;
1716use Yiisoft \Proxy \Config \ClassConfig ;
1817use Yiisoft \Proxy \Config \MethodConfig ;
@@ -175,7 +174,7 @@ private function getMethodParameterConfig(ReflectionParameter $param): Parameter
175174 private function getMethodParameterTypeConfig (ReflectionParameter $ param ): ?TypeConfig
176175 {
177176 /**
178- * @var ReflectionNamedType|ReflectionUnionType|ReflectionIntersectionType |null
177+ * @var ReflectionIntersectionType| ReflectionNamedType|ReflectionUnionType|null
179178 */
180179 $ type = $ param ->getType ();
181180 if (!$ type ) {
@@ -202,7 +201,7 @@ private function getMethodReturnTypeConfig(ReflectionMethod $method): ?TypeConfi
202201 $ returnType = $ method ->getTentativeReturnType ();
203202 }
204203 /**
205- * @var ReflectionNamedType|ReflectionUnionType|ReflectionIntersectionType |null $returnType
204+ * @var ReflectionIntersectionType| ReflectionNamedType|ReflectionUnionType|null $returnType
206205 */
207206
208207 if (!$ returnType ) {
You can’t perform that action at this time.
0 commit comments