Forráskód Böngészése

Update异常处理

朱金辉 2 éve
szülő
commit
73ab5f6cc8
1 módosított fájl, 1 hozzáadás és 1 törlés
  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);