We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f42cb96 commit 2a53fb4Copy full SHA for 2a53fb4
src/Types/ContextFactory.php
@@ -47,7 +47,7 @@ public function createFromReflector(\Reflector $reflector)
47
$fileName = $reflector->getFileName();
48
$namespace = $reflector->getNamespaceName();
49
50
- if (!$fileName || false !== strpos($fileName, 'eval()\'d code')) {
+ if (!file_exists($fileName)) {
51
return new Context($namespace, []);
52
}
53
0 commit comments