Skip to content

Commit

Permalink
remove return type hint for PHP 5 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Jan 14, 2019
1 parent 3ea4901 commit 1f31471
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Symfony/Component/Debug/DebugClassLoader.php
Expand Up @@ -124,7 +124,10 @@ public static function disable()
}
}

public function findFile($class): ?string
/**
* @return string|null
*/
public function findFile($class)
{
return $this->isFinder ? $this->classLoader[0]->findFile($class) ?: null : null;
}
Expand Down

0 comments on commit 1f31471

Please sign in to comment.