|
@@ -27,8 +27,8 @@ |
|
|
block discarded – undo |
|
27
|
27
|
* @copyright 2016 Angel Cruz |
|
28
|
28
|
*/ |
|
29
|
29
|
|
|
30
|
|
-spl_autoload_register(function ($class) { |
|
31
|
|
- $file = dirname(__DIR__).DIRECTORY_SEPARATOR.str_replace('\\', DIRECTORY_SEPARATOR, $class).'.php'; |
|
|
30
|
+spl_autoload_register(function($class) { |
|
|
31
|
+ $file = dirname(__DIR__) . DIRECTORY_SEPARATOR . str_replace('\\', DIRECTORY_SEPARATOR, $class) . '.php'; |
|
32
|
32
|
|
|
33
|
|
- return (!is_file($file)) ?: require $file; |
|
|
33
|
+ return ( ! is_file($file)) ?: require $file; |
|
34
|
34
|
}); |
Please login to merge, or discard this patch.