Passed
Push — master ( 34a83f...053766 )
by kill
03:49
created
core/Config.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     /**
53 53
      * Set a given configuration value.
54 54
      *
55
-     * @param  array|string  $key
55
+     * @param  string  $key
56 56
      * @param  mixed   $value
57 57
      * @return void
58 58
      */
Please login to merge, or discard this patch.
core/Request.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
      * @param array     $files
171 171
      * @param array     $server
172 172
      * @param string    $content
173
-     * @return \think\Request
173
+     * @return Request
174 174
      */
175 175
     public function create($uri, $method = 'GET', $params = [], $cookie = [], $files = [], $server = [], $content = null)
176 176
     {
@@ -612,7 +612,7 @@  discard block
 block discarded – undo
612 612
     /**
613 613
      * 设置获取获取路由参数
614 614
      * @access public
615
-     * @param string|array  $name 变量名
615
+     * @param boolean  $name 变量名
616 616
      * @param mixed         $default 默认值
617 617
      * @param string|array  $filter 过滤方法
618 618
      * @return mixed
@@ -629,7 +629,7 @@  discard block
 block discarded – undo
629 629
     /**
630 630
      * 设置获取获取GET参数
631 631
      * @access public
632
-     * @param string|array  $name 变量名
632
+     * @param boolean  $name 变量名
633 633
      * @param mixed         $default 默认值
634 634
      * @param string|array  $filter 过滤方法
635 635
      * @return mixed
@@ -783,9 +783,9 @@  discard block
 block discarded – undo
783 783
     /**
784 784
      * 获取server参数
785 785
      * @access public
786
-     * @param string|array  $name 数据名称
786
+     * @param string  $name 数据名称
787 787
      * @param string        $default 默认值
788
-     * @param string|array  $filter 过滤方法
788
+     * @param string  $filter 过滤方法
789 789
      * @return mixed
790 790
      */
791 791
     public function server($name = '', $default = null, $filter = '')
@@ -1086,7 +1086,7 @@  discard block
 block discarded – undo
1086 1086
      * @param string    $name 变量名
1087 1087
      * @param string    $type 变量类型
1088 1088
      * @param bool      $checkEmpty 是否检测空值
1089
-     * @return mixed
1089
+     * @return boolean
1090 1090
      */
1091 1091
     public function has($name, $type = 'param', $checkEmpty = false)
1092 1092
     {
Please login to merge, or discard this patch.
core/tools/Arr.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -260,7 +260,7 @@
 block discarded – undo
260 260
      * Check if an item or items exist in an array using "dot" notation.
261 261
      *
262 262
      * @param  \ArrayAccess|array $array
263
-     * @param  string|array $keys
263
+     * @param  string $keys
264 264
      * @return bool
265 265
      */
266 266
     public static function has($array, $keys) {
Please login to merge, or discard this patch.
function.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -462,7 +462,7 @@
 block discarded – undo
462 462
      * 获取环境变量
463 463
      *
464 464
      * @param  string  $key
465
-     * @param  mixed   $default
465
+     * @param  string|false   $default
466 466
      * @return mixed
467 467
      */
468 468
     function env($key, $default = null)
Please login to merge, or discard this patch.