Completed
Push — master ( c1ae1c...dc77cb )
by angel
14s
created
Instapago/autoload.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -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.