Code style should not follow Yoda style
This commit is contained in:
1 parent
b968513cb9
commit
28c1bea28c
3 files changed
+4
-3
No files matched your search
@@ -72,7 +72,7 @@ class Psr4Autoloader
|
||||
|
||||
// work backwards through the namespace names of the fully-qualified
|
||||
// class name to find a mapped file name
|
||||
while (false !== $pos = strrpos($prefix, '\\')) {
|
||||
while (($pos = strrpos($prefix, '\\')) !== false) {
|
||||
// retain the trailing namespace separator in the prefix
|
||||
$prefix = substr($class, 0, $pos + 1);
|
||||
|
||||
|
||||
Reference in new issue
Block a user