Skip to content

Commit

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

Expand Down

0 comments on commit c175bb3

Please sign in to comment.