bug #29873 [Debug] remove return type hint for PHP 5 compatibility (xabbuh)
This PR was merged into the 3.4 branch.
Discussion
----------
[Debug] remove return type hint for PHP 5 compatibility
| Q | A
| ------------- | ---
| Branch? | 3.4
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
Commits
-------
1f31471ffe
remove return type hint for PHP 5 compatibility
This commit is contained in:
commit
057890d41e
|
@ -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;
|
||||
}
|
||||
|
|
Reference in New Issue