Completed
Push — master ( 09a59c...108e88 )
by Zoltán
03:27
created
src/ClassLoaderInitializer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      * @param $additionalFile
42 42
      */
43 43
     public function extend($additionalFile) {
44
-        if($this->isLoaded === TRUE) {
44
+        if ($this->isLoaded === TRUE) {
45 45
             trigger_error('The initializer is loaded, so you cannot extend a loaded initializer!', E_USER_NOTICE);
46 46
         }
47 47
 
@@ -72,14 +72,14 @@  discard block
 block discarded – undo
72 72
      * @return void
73 73
      */
74 74
     public function load() {
75
-        if($this->isLoaded === TRUE) {
75
+        if ($this->isLoaded === TRUE) {
76 76
             trigger_error("Unable to load ClassLoader because its already loaded!", E_USER_NOTICE);
77 77
         }
78 78
 
79 79
         $rootDir = __DIR__ . DIRECTORY_SEPARATOR;
80 80
         ksort(self::$files);
81 81
 
82
-        foreach(self::$files as $priority => $file) {
82
+        foreach (self::$files as $priority => $file) {
83 83
             $fileAbsolute = $rootDir . $file;
84 84
 
85 85
             include_once $fileAbsolute;
Please login to merge, or discard this patch.