Browse Source

Update autoloader

朱金辉 2 years ago
parent
commit
f4f1bfdeb5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Autoloader/Psr4.php

+ 1 - 1
src/Autoloader/Psr4.php

@@ -79,7 +79,7 @@ class Psr4
      */
     public function register()
     {
-        spl_autoload_register(array($this, 'loadFileByClass'), true, true);
+        spl_autoload_register(array($this, 'loadFileByClass'));
         return $this;
     }
     /**