diff --git a/src/Prophecy/Doubler/Generator/Node/TypeNodeAbstract.php b/src/Prophecy/Doubler/Generator/Node/TypeNodeAbstract.php index e6b10dd62..97fc54978 100644 --- a/src/Prophecy/Doubler/Generator/Node/TypeNodeAbstract.php +++ b/src/Prophecy/Doubler/Generator/Node/TypeNodeAbstract.php @@ -56,6 +56,7 @@ protected function getRealType(string $type): string // built in types case 'self': + case 'static': case 'array': case 'callable': case 'bool':