From d279fe5c6d9d51ab381a857861d43af631e94054 Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Sat, 11 Jan 2020 17:12:33 +0100 Subject: [PATCH] Fix filename that isn't a valid file issue --- src/Reflection/ClassReflection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Reflection/ClassReflection.php b/src/Reflection/ClassReflection.php index d85abdbfdd..187039c9b7 100644 --- a/src/Reflection/ClassReflection.php +++ b/src/Reflection/ClassReflection.php @@ -773,7 +773,7 @@ private function getResolvedPhpDoc(): ?ResolvedPhpDocBlock return $this->stubPhpDocBlock; } - $fileName = $this->reflection->getFileName(); + $fileName = $this->getFileName(); if ($fileName === false) { return null; }