Skip to content

Commit a27f643

Browse files
Cs
1 parent e12afee commit a27f643

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
@@ -109,6 +109,10 @@ private function getGetTypeFromMethodCall(
109109
return $returnType;
110110
}
111111

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

0 commit comments

Comments
 (0)