瀏覽代碼

Update autoloader

朱金辉 2 年之前
父節點
當前提交
f4f1bfdeb5
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
     }
     /**