remove return type hint for PHP 5 compatibility

This commit is contained in:
Christian Flothmann 2019-01-14 09:43:48 +01:00
parent 3ea4901516
commit 1f31471ffe
1 changed files with 4 additions and 1 deletions

View File

@ -124,7 +124,10 @@ class DebugClassLoader
}
}
public function findFile($class): ?string
/**
* @return string|null
*/
public function findFile($class)
{
return $this->isFinder ? $this->classLoader[0]->findFile($class) ?: null : null;
}