Completed
Branch 6.0 (d30585)
by yun
04:17
created
src/helper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -379,7 +379,7 @@  discard block
 block discarded – undo
379 379
 if (!function_exists('request')) {
380 380
     /**
381 381
      * 获取当前Request对象实例
382
-     * @return Request
382
+     * @return think\Request
383 383
      */
384 384
     function request(): \think\Request
385 385
     {
@@ -391,7 +391,7 @@  discard block
 block discarded – undo
391 391
     /**
392 392
      * 创建普通 Response 对象实例
393 393
      * @param mixed      $data   输出数据
394
-     * @param int|string $code   状态码
394
+     * @param integer $code   状态码
395 395
      * @param array      $header 头信息
396 396
      * @param string     $type
397 397
      * @return Response
Please login to merge, or discard this patch.
src/think/Cache.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
      * 获取驱动配置
58 58
      * @param string $store
59 59
      * @param string $name
60
-     * @param null   $default
60
+     * @param string   $default
61 61
      * @return array
62 62
      */
63 63
     public function getStoreConfig(string $store, string $name = null, $default = null)
Please login to merge, or discard this patch.
src/think/cache/Driver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
      * 追加(数组)缓存
109 109
      * @access public
110 110
      * @param string $name  缓存变量名
111
-     * @param mixed  $value 存储数据
111
+     * @param string  $value 存储数据
112 112
      * @return void
113 113
      */
114 114
     public function push(string $name, $value): void
Please login to merge, or discard this patch.
src/think/cache/driver/File.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -277,7 +277,7 @@
 block discarded – undo
277 277
 
278 278
     /**
279 279
      * 删除文件夹
280
-     * @param $dirname
280
+     * @param string $dirname
281 281
      * @return bool
282 282
      */
283 283
     private function rmdir($dirname)
Please login to merge, or discard this patch.
src/think/Console.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -633,7 +633,7 @@
 block discarded – undo
633 633
     /**
634 634
      * 获取可能的建议
635 635
      * @access private
636
-     * @param array $abbrevs
636
+     * @param string[] $abbrevs
637 637
      * @return string
638 638
      */
639 639
     private function getAbbreviationSuggestions(array $abbrevs): string
Please login to merge, or discard this patch.
src/think/console/Command.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -282,7 +282,7 @@
 block discarded – undo
282 282
      * @param string $name        名称
283 283
      * @param int    $mode        类型
284 284
      * @param string $description 描述
285
-     * @param mixed  $default     默认值
285
+     * @param string  $default     默认值
286 286
      * @return Command
287 287
      */
288 288
     public function addArgument(string $name, int $mode = null, string $description = '', $default = null)
Please login to merge, or discard this patch.
src/think/console/command/Make.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@
 block discarded – undo
20 20
 {
21 21
     protected $type;
22 22
 
23
+    /**
24
+     * @return string
25
+     */
23 26
     abstract protected function getStub();
24 27
 
25 28
     protected function configure()
Please login to merge, or discard this patch.
src/think/console/output/Ask.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -96,6 +96,11 @@  discard block
 block discarded – undo
96 96
         return $ret;
97 97
     }
98 98
 
99
+    /**
100
+     * @param string $inputStream
101
+     *
102
+     * @return string
103
+     */
99 104
     private function autocomplete($inputStream)
100 105
     {
101 106
         $autocomplete = $this->question->getAutocompleterValues();
@@ -189,6 +194,9 @@  discard block
 block discarded – undo
189 194
         return $ret;
190 195
     }
191 196
 
197
+    /**
198
+     * @param string $inputStream
199
+     */
192 200
     protected function getHiddenResponse($inputStream)
193 201
     {
194 202
         if ('\\' === DIRECTORY_SEPARATOR) {
@@ -229,6 +237,9 @@  discard block
 block discarded – undo
229 237
         throw new \RuntimeException('Unable to hide the response.');
230 238
     }
231 239
 
240
+    /**
241
+     * @param \Closure $interviewer
242
+     */
232 243
     protected function validateAttempts($interviewer)
233 244
     {
234 245
         /** @var \Exception $error */
Please login to merge, or discard this patch.
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.