diff --git a/src/Mockery/Reflection/StubMethodReflection.php b/src/Mockery/Reflection/StubMethodReflection.php index 71454df..ffe5f9b 100644 --- a/src/Mockery/Reflection/StubMethodReflection.php +++ b/src/Mockery/Reflection/StubMethodReflection.php @@ -63,12 +63,9 @@ public function getVariants(): array ]; } - /** - * @return string|false - */ - public function getDocComment() + public function getDocComment(): ?string { - return false; + return null; } public function isDeprecated(): \PHPStan\TrinaryLogic