1
0
Fork 0

Merge pull request #490 from Taluu/master

[ClassLoader] [CS] Fixes trailing whitespaces
pull/459/merge
Jordi Boggiano 2012-03-22 05:23:26 -07:00
commit 4917a6648f
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {