Passed
Branch master (142b56)
by Jim
03:49
created
src/Container/ServiceContainer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
     }
156 156
 
157 157
     /**
158
-     * @param mixed $basePath
158
+     * @param string $basePath
159 159
      */
160 160
     public function setBasePath($basePath)
161 161
     {
Please login to merge, or discard this patch.
src/Core/IMCloud.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
     /**
138 138
      * Get query string array
139 139
      *
140
-     * @param array $fields
140
+     * @param string[] $fields
141 141
      * @return array
142 142
      * @throws Exceptions\UserSigException
143 143
      * @throws MissingArgumentsException
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
     /**
177 177
      * Check the array data errors, and Throw exception when the contents contains error.
178 178
      *
179
-     * @param array|Collection $contents
179
+     * @param Collection $contents
180 180
      *
181 181
      * @throws HttpException
182 182
      */
Please login to merge, or discard this patch.
src/Core/TLSSig.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
     /**
150 150
      * 生成usersig
151 151
      * @param string $identifier 用户名
152
-     * @param uint $expire usersig有效期 默认为180天, 180 * 24 * 3600, 单位秒
152
+     * @param integer $expire usersig有效期 默认为180天, 180 * 24 * 3600, 单位秒
153 153
      * @return string 生成的UserSig 失败时为false
154 154
      */
155 155
     public function genSig($identifier, $expire = 15552000)
Please login to merge, or discard this patch.
src/Foundation/Log/LogManager.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      *
86 86
      * @param string|null $channel
87 87
      *
88
-     * @return mixed
88
+     * @return LoggerInterface
89 89
      */
90 90
     public function channel($channel = null)
91 91
     {
@@ -296,9 +296,9 @@  discard block
 block discarded – undo
296 296
     /**
297 297
      * Prepare the handlers for usage by Monolog.
298 298
      *
299
-     * @param array $handlers
299
+     * @param StreamHandler[] $handlers
300 300
      *
301
-     * @return array
301
+     * @return HandlerInterface[]
302 302
      */
303 303
     protected function prepareHandlers(array $handlers)
304 304
     {
@@ -539,7 +539,7 @@  discard block
 block discarded – undo
539 539
     /**
540 540
      * Logs with an arbitrary level.
541 541
      *
542
-     * @param mixed  $level
542
+     * @param string  $level
543 543
      * @param string $message
544 544
      * @param array  $context
545 545
      *
Please login to merge, or discard this patch.
src/Support/Arr.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      * Get a subset of the items from the given array.
44 44
      *
45 45
      * @param  array  $array
46
-     * @param  array|string  $keys
46
+     * @param  string[]  $keys
47 47
      * @return array
48 48
      */
49 49
     public static function only($array, $keys)
Please login to merge, or discard this patch.