2 次代碼提交 a247b2e3e0 ... eabd69054d

作者 SHA1 備註 提交日期
  朱金辉 eabd69054d Merge branch 'master' of https://code.istudy.wang/root/Qii 3 月之前
  朱金辉 1666cdd8a3 update composer.json 3 月之前
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Qii.php

+ 1 - 1
src/Qii.php

@@ -157,7 +157,7 @@ class Qii extends Application
      * @param Int|String $code
      * @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());
     }