@@ -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 | { |
@@ -445,7 +445,7 @@ discard block |
||
| 445 | 445 | /** |
| 446 | 446 | * Get all items except for those with the specified keys. |
| 447 | 447 | * |
| 448 | - * @param \Illuminate\Support\Collection|mixed $keys |
|
| 448 | + * @param string $keys |
|
| 449 | 449 | * @return static |
| 450 | 450 | */ |
| 451 | 451 | public function except($keys) |
@@ -510,7 +510,7 @@ discard block |
||
| 510 | 510 | * Filter items by the given key value pair. |
| 511 | 511 | * |
| 512 | 512 | * @param string $key |
| 513 | - * @param mixed $operator |
|
| 513 | + * @param string $operator |
|
| 514 | 514 | * @param mixed $value |
| 515 | 515 | * @return static |
| 516 | 516 | */ |
@@ -649,7 +649,7 @@ discard block |
||
| 649 | 649 | * Get the first item from the collection. |
| 650 | 650 | * |
| 651 | 651 | * @param callable|null $callback |
| 652 | - * @param mixed $default |
|
| 652 | + * @param stdClass $default |
|
| 653 | 653 | * @return mixed |
| 654 | 654 | */ |
| 655 | 655 | public function first(callable $callback = null, $default = null) |
@@ -1316,7 +1316,7 @@ discard block |
||
| 1316 | 1316 | /** |
| 1317 | 1317 | * Create a collection of all elements that do not pass a given truth test. |
| 1318 | 1318 | * |
| 1319 | - * @param callable|mixed $callback |
|
| 1319 | + * @param \Closure $callback |
|
| 1320 | 1320 | * @return static |
| 1321 | 1321 | */ |
| 1322 | 1322 | public function reject($callback) |
@@ -1879,7 +1879,7 @@ discard block |
||
| 1879 | 1879 | * Dynamically access collection proxies. |
| 1880 | 1880 | * |
| 1881 | 1881 | * @param string $key |
| 1882 | - * @return mixed |
|
| 1882 | + * @return HigherOrderCollectionProxy |
|
| 1883 | 1883 | * |
| 1884 | 1884 | * @throws \Exception |
| 1885 | 1885 | */ |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | /** |
| 148 | 148 | * Get an item from an array using "dot" notation. |
| 149 | 149 | * |
| 150 | - * @param \ArrayAccess|array $array |
|
| 150 | + * @param Doctrine\DBAL\Schema\Index[] $array |
|
| 151 | 151 | * @param string $key |
| 152 | 152 | * @param mixed $default |
| 153 | 153 | * @return mixed |
@@ -565,7 +565,7 @@ discard block |
||
| 565 | 565 | /** |
| 566 | 566 | * Escape HTML special characters in a string. |
| 567 | 567 | * |
| 568 | - * @param \Illuminate\Contracts\Support\Htmlable|string $value |
|
| 568 | + * @param string $value |
|
| 569 | 569 | * @param bool $doubleEncode |
| 570 | 570 | * @return string |
| 571 | 571 | */ |
@@ -676,7 +676,7 @@ discard block |
||
| 676 | 676 | * Get the last element from an array. |
| 677 | 677 | * |
| 678 | 678 | * @param array $array |
| 679 | - * @return mixed |
|
| 679 | + * @return string |
|
| 680 | 680 | */ |
| 681 | 681 | function last($array) |
| 682 | 682 | { |
@@ -843,7 +843,7 @@ discard block |
||
| 843 | 843 | * Determine if a given string contains a given substring. |
| 844 | 844 | * |
| 845 | 845 | * @param string $haystack |
| 846 | - * @param string|array $needles |
|
| 846 | + * @param string $needles |
|
| 847 | 847 | * @return bool |
| 848 | 848 | */ |
| 849 | 849 | function str_contains($haystack, $needles) |
@@ -1030,7 +1030,7 @@ discard block |
||
| 1030 | 1030 | * |
| 1031 | 1031 | * @param mixed $value |
| 1032 | 1032 | * @param callable|null $callback |
| 1033 | - * @return mixed |
|
| 1033 | + * @return Illuminate\Database\Schema\Blueprint |
|
| 1034 | 1034 | */ |
| 1035 | 1035 | function tap($value, $callback = null) |
| 1036 | 1036 | { |
@@ -1168,7 +1168,7 @@ discard block |
||
| 1168 | 1168 | /** |
| 1169 | 1169 | * Return the given value, optionally passed through the given callback. |
| 1170 | 1170 | * |
| 1171 | - * @param mixed $value |
|
| 1171 | + * @param Psr\Log\LoggerInterface $value |
|
| 1172 | 1172 | * @param callable|null $callback |
| 1173 | 1173 | * @return mixed |
| 1174 | 1174 | */ |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | /** |
| 26 | 26 | * Get the "available at" UNIX timestamp. |
| 27 | 27 | * |
| 28 | - * @param \DateTimeInterface|\DateInterval|int $delay |
|
| 28 | + * @param integer $delay |
|
| 29 | 29 | * @return int |
| 30 | 30 | */ |
| 31 | 31 | protected function availableAt($delay = 0) |