[Config] fix compat with wrapping autoloaders

This commit is contained in:
Nicolas Grekas 2019-01-29 16:40:56 +01:00
parent b4357d734b
commit 695d84be4c

View File

@ -118,8 +118,10 @@ class ClassExistenceResource implements SelfCheckingResourceInterface, \Serializ
/** /**
* @throws \ReflectionException When $class is not found and is required * @throws \ReflectionException When $class is not found and is required
*
* @internal
*/ */
private static function throwOnRequiredClass($class) public static function throwOnRequiredClass($class)
{ {
if (self::$autoloadedClass === $class) { if (self::$autoloadedClass === $class) {
return; return;