@@ -10,7 +10,7 @@ |
||
10 | 10 | * Create a new raw query expression. |
11 | 11 | * |
12 | 12 | * @param mixed $value |
13 | - * @return void |
|
13 | + * @return JsonExpression |
|
14 | 14 | */ |
15 | 15 | public function __construct($value) |
16 | 16 | { |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | /** |
140 | 140 | * Get all of the commands matching the given names. |
141 | 141 | * |
142 | - * @param array $names |
|
142 | + * @param string[] $names |
|
143 | 143 | * @return \Illuminate\Support\Collection |
144 | 144 | */ |
145 | 145 | protected function commandsNamed(array $names) |
@@ -327,7 +327,7 @@ discard block |
||
327 | 327 | /** |
328 | 328 | * Indicate that the given index should be dropped. |
329 | 329 | * |
330 | - * @param string|array $index |
|
330 | + * @param string $index |
|
331 | 331 | * @return \Illuminate\Support\Fluent |
332 | 332 | */ |
333 | 333 | public function dropIndex($index) |
@@ -447,7 +447,7 @@ discard block |
||
447 | 447 | /** |
448 | 448 | * Specify the primary key(s) for the table. |
449 | 449 | * |
450 | - * @param string|array $columns |
|
450 | + * @param string[] $columns |
|
451 | 451 | * @param string $name |
452 | 452 | * @param string|null $algorithm |
453 | 453 | * @return \Illuminate\Support\Fluent |
@@ -460,7 +460,7 @@ discard block |
||
460 | 460 | /** |
461 | 461 | * Specify a unique index for the table. |
462 | 462 | * |
463 | - * @param string|array $columns |
|
463 | + * @param string[] $columns |
|
464 | 464 | * @param string $name |
465 | 465 | * @param string|null $algorithm |
466 | 466 | * @return \Illuminate\Support\Fluent |
@@ -324,7 +324,7 @@ |
||
324 | 324 | * @param \Illuminate\Database\Schema\Blueprint $blueprint |
325 | 325 | * @param \Illuminate\Support\Fluent $command |
326 | 326 | * @param \Illuminate\Database\Connection $connection |
327 | - * @return array |
|
327 | + * @return string[] |
|
328 | 328 | */ |
329 | 329 | public function compileRenameIndex(Blueprint $blueprint, Fluent $command, Connection $connection) |
330 | 330 | { |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | * Create a new event dispatcher instance. |
55 | 55 | * |
56 | 56 | * @param \Illuminate\Contracts\Container\Container|null $container |
57 | - * @return void |
|
57 | + * @return DispatcherContract |
|
58 | 58 | */ |
59 | 59 | public function __construct(ContainerContract $container = null) |
60 | 60 | { |
@@ -64,8 +64,8 @@ discard block |
||
64 | 64 | /** |
65 | 65 | * Register an event listener with the dispatcher. |
66 | 66 | * |
67 | - * @param string|array $events |
|
68 | - * @param mixed $listener |
|
67 | + * @param string $events |
|
68 | + * @param \Closure $listener |
|
69 | 69 | * @return void |
70 | 70 | */ |
71 | 71 | public function listen($events, $listener) |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | /** |
261 | 261 | * Check if event should be broadcasted by condition. |
262 | 262 | * |
263 | - * @param mixed $event |
|
263 | + * @param ShouldBroadcast $event |
|
264 | 264 | * @return bool |
265 | 265 | */ |
266 | 266 | protected function broadcastWhen($event) |
@@ -506,7 +506,7 @@ discard block |
||
506 | 506 | * Propagate listener options to the job. |
507 | 507 | * |
508 | 508 | * @param mixed $listener |
509 | - * @param mixed $job |
|
509 | + * @param CallQueuedListener $job |
|
510 | 510 | * @return mixed |
511 | 511 | */ |
512 | 512 | protected function propagateListenerOptions($listener, $job) |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | * |
156 | 156 | * @param string $path |
157 | 157 | * @param int $mode |
158 | - * @return mixed |
|
158 | + * @return boolean|string |
|
159 | 159 | */ |
160 | 160 | public function chmod($path, $mode = null) |
161 | 161 | { |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | * |
221 | 221 | * @param string $target |
222 | 222 | * @param string $link |
223 | - * @return void |
|
223 | + * @return boolean|null |
|
224 | 224 | */ |
225 | 225 | public function link($target, $link) |
226 | 226 | { |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | * @param string $path |
160 | 160 | * @param string|resource $contents |
161 | 161 | * @param mixed $options |
162 | - * @return bool |
|
162 | + * @return string|boolean |
|
163 | 163 | */ |
164 | 164 | public function put($path, $contents, $options = []) |
165 | 165 | { |
@@ -240,7 +240,7 @@ discard block |
||
240 | 240 | * |
241 | 241 | * @param string $path |
242 | 242 | * @param string $visibility |
243 | - * @return void |
|
243 | + * @return boolean |
|
244 | 244 | */ |
245 | 245 | public function setVisibility($path, $visibility) |
246 | 246 | { |
@@ -253,7 +253,7 @@ discard block |
||
253 | 253 | * @param string $path |
254 | 254 | * @param string $data |
255 | 255 | * @param string $separator |
256 | - * @return int |
|
256 | + * @return string|boolean |
|
257 | 257 | */ |
258 | 258 | public function prepend($path, $data, $separator = PHP_EOL) |
259 | 259 | { |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | * @param string $path |
271 | 271 | * @param string $data |
272 | 272 | * @param string $separator |
273 | - * @return int |
|
273 | + * @return string|boolean |
|
274 | 274 | */ |
275 | 275 | public function append($path, $data, $separator = PHP_EOL) |
276 | 276 | { |
@@ -356,7 +356,7 @@ discard block |
||
356 | 356 | * Get the file's last modification time. |
357 | 357 | * |
358 | 358 | * @param string $path |
359 | - * @return int |
|
359 | + * @return string|false |
|
360 | 360 | */ |
361 | 361 | public function lastModified($path) |
362 | 362 | { |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | * |
32 | 32 | * @param \Psr\Log\LoggerInterface $logger |
33 | 33 | * @param \Illuminate\Contracts\Events\Dispatcher|null $dispatcher |
34 | - * @return void |
|
34 | + * @return Logger |
|
35 | 35 | */ |
36 | 36 | public function __construct(LoggerInterface $logger, Dispatcher $dispatcher = null) |
37 | 37 | { |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | /** |
215 | 215 | * Format the parameters for the logger. |
216 | 216 | * |
217 | - * @param mixed $message |
|
217 | + * @param string $message |
|
218 | 218 | * @return mixed |
219 | 219 | */ |
220 | 220 | protected function formatMessage($message) |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | /** |
59 | 59 | * Create a new Log manager instance. |
60 | 60 | * |
61 | - * @param \Illuminate\Foundation\Application $app |
|
61 | + * @param \Illuminate\Contracts\Foundation\Application $app |
|
62 | 62 | * @return void |
63 | 63 | */ |
64 | 64 | public function __construct($app) |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | * Get a log channel instance. |
86 | 86 | * |
87 | 87 | * @param string|null $channel |
88 | - * @return mixed |
|
88 | + * @return LoggerInterface |
|
89 | 89 | */ |
90 | 90 | public function channel($channel = null) |
91 | 91 | { |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | * Get a log driver instance. |
97 | 97 | * |
98 | 98 | * @param string|null $driver |
99 | - * @return mixed |
|
99 | + * @return LoggerInterface |
|
100 | 100 | */ |
101 | 101 | public function driver($driver = null) |
102 | 102 | { |
@@ -346,8 +346,8 @@ discard block |
||
346 | 346 | /** |
347 | 347 | * Prepare the handlers for usage by Monolog. |
348 | 348 | * |
349 | - * @param array $handlers |
|
350 | - * @return array |
|
349 | + * @param StreamHandler[] $handlers |
|
350 | + * @return HandlerInterface[] |
|
351 | 351 | */ |
352 | 352 | protected function prepareHandlers(array $handlers) |
353 | 353 | { |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | * |
89 | 89 | * @param string|null $view |
90 | 90 | * @param array $data |
91 | - * @return string |
|
91 | + * @return HtmlString |
|
92 | 92 | */ |
93 | 93 | public function links($view = null, $data = []) |
94 | 94 | { |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | * |
101 | 101 | * @param string|null $view |
102 | 102 | * @param array $data |
103 | - * @return string |
|
103 | + * @return HtmlString |
|
104 | 104 | */ |
105 | 105 | public function render($view = null, $data = []) |
106 | 106 | { |