Skip to content

Commit 5bf02f7

Browse files
Cs
1 parent fe10d57 commit 5bf02f7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Type/Symfony/ParameterDynamicReturnTypeExtension.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ private function getGetTypeFromMethodCall(
110110
return $returnType;
111111
}
112112

113+
/**
114+
* @param Scope $scope
115+
* @param array<mixed>|bool|float|int|string $value
116+
*/
113117
private function generalizeTypeFromValue(Scope $scope, $value): Type
114118
{
115119
if (is_array($value) && $value !== []) {

0 commit comments

Comments
 (0)