Skip to content

Commit

Permalink
With OPCache not corrupted, we can actually autoload things?
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Apr 29, 2022
1 parent 28eaba2 commit 691e89a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ public function locateIdentifiersByType(Reflector $reflector, IdentifierType $id
*/
private function getReflectionClass(string $className): ?ReflectionClass
{
if (class_exists($className, !$this->disableRuntimeReflectionProvider) || interface_exists($className, !$this->disableRuntimeReflectionProvider) || trait_exists($className, !$this->disableRuntimeReflectionProvider)) {
if (class_exists($className) || interface_exists($className) || trait_exists($className)) {
$reflection = new ReflectionClass($className);
$filename = $reflection->getFileName();

Expand Down

0 comments on commit 691e89a

Please sign in to comment.