2 Commits a247b2e3e0 ... eabd69054d

Author SHA1 Message Date
  朱金辉 eabd69054d Merge branch 'master' of https://code.istudy.wang/root/Qii 3 months ago
  朱金辉 1666cdd8a3 update composer.json 3 months ago
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Qii.php

+ 1 - 1
src/Qii.php

@@ -157,7 +157,7 @@ class Qii extends Application
      * @param Int|String $code
      * @param Int|String $code
      * @return Bool
      * @return Bool
      */
      */
-    public static function setError($condition, $line = 0, $code, $args = null, $msg = '')
+    public static function setError($condition, $line = 0, $code = 0, $args = null, $msg = '')
     {
     {
         return call_user_func_array(array('\Qii\Exceptions\Error', 'setError'), func_get_args());
         return call_user_func_array(array('\Qii\Exceptions\Error', 'setError'), func_get_args());
     }
     }