Completed
Push — master ( 1ecf45...414f2f )
by Derek
02:32
created
src/Nabu/Autoloader.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     public function register()
35 35
     {
36
-        spl_autoload_register(array($this,"includeClass"));
36
+        spl_autoload_register(array($this, "includeClass"));
37 37
     }
38 38
 
39 39
     /**
@@ -46,10 +46,10 @@  discard block
 block discarded – undo
46 46
         $this->logger->debug("Parameters: package = {$package}, path = {$path}");
47 47
 
48 48
         $package = trim($package, "\\");
49
-        $package = $package . "\\";
49
+        $package = $package."\\";
50 50
 
51 51
         $path = rtrim($path, "/");
52
-        $path = $path . "/";
52
+        $path = $path."/";
53 53
 
54 54
         $this->logger->debug("Registering index {$package} with {$path}");
55 55
         $this->packages[$package][] = $path;
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 
112 112
             foreach ($this->packages[$package_name] as $path) {
113 113
                 $converted_class = str_replace('\\', '/', $class_name);
114
-                $class_path      = $path . $converted_class . ".php";
114
+                $class_path      = $path.$converted_class.".php";
115 115
 
116 116
                 $this->logger->debug("Class file path is {$class_path}");
117 117
 
Please login to merge, or discard this patch.