Explorar o código

Update异常处理

朱金辉 %!s(int64=2) %!d(string=hai) anos
pai
achega
73ab5f6cc8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);