Skip to content

Commit

Permalink
exclude some ZF version in Zray
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Sep 17, 2018
1 parent 53db924 commit c24db86
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/HeroAutoload.php
Expand Up @@ -10,7 +10,7 @@ class HeroAutoload
{
public static function handle(string $class)
{
if (\class_exists($class)) {
if (\class_exists($class, false)) {
return;
}

Expand All @@ -21,6 +21,8 @@ public static function handle(string $class)
'error_get_last',
'ErrorHeroModuleLogger',
'ZendDeveloperTools\\ProfilerEvent',
'Zend\Version\Version',
'ZF\MvcAuth\MvcAuthEvent',
]
)) {
return;
Expand Down

0 comments on commit c24db86

Please sign in to comment.