瀏覽代碼

Update异常处理

朱金辉 2 年之前
父節點
當前提交
73ab5f6cc8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Autoloader/Psr4.php

+ 1 - 1
src/Autoloader/Psr4.php

@@ -457,7 +457,7 @@ class Psr4
     {
         $args = func_get_args();
         if (empty($args)) {
-            throw new InvalidParams("Param is null");
+            throw new InvalidParams("Parameter is null");
         }
         $class = array_shift($args);
         $className = $this->getClassName($class);