Skip to content

Commit 21a2d52

Browse files
committed
Update DynamicReturnTypeExtensionRegistry.php
1 parent 0694bf9 commit 21a2d52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/DynamicReturnTypeExtensionRegistry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public function getDynamicFunctionReturnTypeExtensions(FunctionReflection $funct
108108
$supportedFunctions[] = $dynamicFunctionReturnTypeExtension;
109109
}
110110

111-
return $this->dynamicReturnTypeExtensionsByFunction[$functionName] ??= $supportedFunctions;
111+
return $this->dynamicReturnTypeExtensionsByFunction[$functionName] = $supportedFunctions;
112112
}
113113

114114
}

0 commit comments

Comments
 (0)