Merge pull request #490 from Taluu/master
[ClassLoader] [CS] Fixes trailing whitespacespull/459/merge
commit
4917a6648f
|
@ -180,7 +180,7 @@ class ClassLoader
|
||||||
|
|
||||||
$classPath .= str_replace('_', DIRECTORY_SEPARATOR, $className) . '.php';
|
$classPath .= str_replace('_', DIRECTORY_SEPARATOR, $className) . '.php';
|
||||||
|
|
||||||
foreach ($this->prefixes as $prefix => $dirs) {
|
foreach ($this->prefixes as $prefix => $dirs) {
|
||||||
if (0 === strpos($class, $prefix)) {
|
if (0 === strpos($class, $prefix)) {
|
||||||
foreach ($dirs as $dir) {
|
foreach ($dirs as $dir) {
|
||||||
if (file_exists($dir . DIRECTORY_SEPARATOR . $classPath)) {
|
if (file_exists($dir . DIRECTORY_SEPARATOR . $classPath)) {
|
||||||
|
|
Loading…
Reference in New Issue