mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-06 09:28:57 +02:00
PSR-2 Fixer
This commit is contained in:
+1
-4
@@ -31,11 +31,9 @@ class Autoload
|
||||
if (strpos($className, 'Task\\') === 0) {
|
||||
$baseDir = getcwd() . '/.mage/tasks';
|
||||
$postfix = substr($postfix, 5);
|
||||
|
||||
} else if (strpos($className, 'Command\\') === 0) {
|
||||
} elseif (strpos($className, 'Command\\') === 0) {
|
||||
$baseDir = getcwd() . '/.mage/commands';
|
||||
$postfix = substr($postfix, 8);
|
||||
|
||||
} else {
|
||||
$baseDir = dirname(dirname(__FILE__));
|
||||
}
|
||||
@@ -68,5 +66,4 @@ class Autoload
|
||||
{
|
||||
return is_readable($filePath);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user