Completed
Branch 6.0 (d30585)
by yun
04:17
created
src/think/console/output/driver/Buffer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@
 block discarded – undo
32 32
         return $content;
33 33
     }
34 34
 
35
+    /**
36
+     * @param string $messages
37
+     */
35 38
     public function write($messages, bool $newline = false, int $options = 0)
36 39
     {
37 40
         $messages = (array) $messages;
Please login to merge, or discard this patch.
src/think/console/output/driver/Nothing.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@
 block discarded – undo
21 21
         // do nothing
22 22
     }
23 23
 
24
+    /**
25
+     * @param string $messages
26
+     */
24 27
     public function write($messages, bool $newline = false, int $options = 0)
25 28
     {
26 29
         // do nothing
Please login to merge, or discard this patch.
src/think/console/output/Formatter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@
 block discarded – undo
154 154
     /**
155 155
      * 根据字符串创建新的样式实例
156 156
      * @param string $string
157
-     * @return Style|bool
157
+     * @return Style|null
158 158
      */
159 159
     private function createStyleFromString($string)
160 160
     {
Please login to merge, or discard this patch.
src/think/console/Table.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
     /**
106 106
      * 设置表格头信息 以及对齐方式
107 107
      * @access public
108
-     * @param array $header     要输出的Header信息
108
+     * @param string[] $header     要输出的Header信息
109 109
      * @param int   $align      对齐方式 默认1 ALGIN_LEFT 0 ALIGN_RIGHT 2 ALIGN_CENTER
110 110
      * @return void
111 111
      */
Please login to merge, or discard this patch.
src/think/Container.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
     /**
79 79
      * 设置当前容器的实例
80 80
      * @access public
81
-     * @param object|Closure $instance
81
+     * @param App $instance
82 82
      * @return void
83 83
      */
84 84
     public static function setInstance($instance): void
@@ -331,7 +331,7 @@  discard block
 block discarded – undo
331 331
      * 调用反射执行类的方法 支持参数绑定
332 332
      * @access public
333 333
      * @param object $instance 对象实例
334
-     * @param mixed  $reflect  反射类
334
+     * @param ReflectionMethod  $reflect  反射类
335 335
      * @param array  $vars     参数
336 336
      * @return mixed
337 337
      */
Please login to merge, or discard this patch.
src/think/Event.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@
 block discarded – undo
198 198
      * 触发事件
199 199
      * @access public
200 200
      * @param string|object $event  事件名称
201
-     * @param mixed         $params 传入参数
201
+     * @param null|Response         $params 传入参数
202 202
      * @param bool          $once   只获取一个有效返回值
203 203
      * @return mixed
204 204
      */
Please login to merge, or discard this patch.
src/think/exception/Handle.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,13 +13,13 @@
 block discarded – undo
13 13
 namespace think\exception;
14 14
 
15 15
 use Exception;
16
+use Throwable;
16 17
 use think\App;
18
+use think\Request;
19
+use think\Response;
17 20
 use think\console\Output;
18 21
 use think\db\exception\DataNotFoundException;
19 22
 use think\db\exception\ModelNotFoundException;
20
-use think\Request;
21
-use think\Response;
22
-use Throwable;
23 23
 
24 24
 /**
25 25
  * 系统异常处理类
Please login to merge, or discard this patch.
src/think/Facade.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -91,6 +91,10 @@
 block discarded – undo
91 91
     }
92 92
 
93 93
     // 调用实际类的方法
94
+
95
+    /**
96
+     * @param string $method
97
+     */
94 98
     public static function __callStatic($method, $params)
95 99
     {
96 100
         return call_user_func_array([static::createFacade(), $method], $params);
Please login to merge, or discard this patch.
src/think/file/UploadedFile.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 
13 13
 namespace think\file;
14 14
 
15
-use think\exception\FileException;
16 15
 use think\File;
16
+use think\exception\FileException;
17 17
 
18 18
 class UploadedFile extends File
19 19
 {
Please login to merge, or discard this patch.