Skip to content

Commit

Permalink
Use direct global function to speed up call
Browse files Browse the repository at this point in the history
  • Loading branch information
WyriHaximus committed Dec 24, 2018
1 parent 9670f84 commit e78712e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap.php
Expand Up @@ -3,5 +3,5 @@
use Doctrine\Common\Annotations\AnnotationRegistry;

AnnotationRegistry::registerLoader(function (string $class) {
return class_exists($class);
return \class_exists($class);
});

0 comments on commit e78712e

Please sign in to comment.