@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | * Increment the value of an item in the cache. |
| 34 | 34 | * |
| 35 | 35 | * @param string $key |
| 36 | - * @param mixed $value |
|
| 36 | + * @param integer $value |
|
| 37 | 37 | * @return void |
| 38 | 38 | */ |
| 39 | 39 | public function increment($key, $value = 1) |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | * Decrement the value of an item in the cache. |
| 46 | 46 | * |
| 47 | 47 | * @param string $key |
| 48 | - * @param mixed $value |
|
| 48 | + * @param integer $value |
|
| 49 | 49 | * @return void |
| 50 | 50 | */ |
| 51 | 51 | public function decrement($key, $value = 1) |
@@ -65,6 +65,7 @@ discard block |
||
| 65 | 65 | |
| 66 | 66 | /** |
| 67 | 67 | * {@inheritdoc} |
| 68 | + * @param string $key |
|
| 68 | 69 | */ |
| 69 | 70 | protected function itemKey($key) |
| 70 | 71 | { |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | * |
| 26 | 26 | * @param \Illuminate\Contracts\Cache\Store $store |
| 27 | 27 | * @param array $names |
| 28 | - * @return void |
|
| 28 | + * @return TagSet |
|
| 29 | 29 | */ |
| 30 | 30 | public function __construct(Store $store, array $names = []) |
| 31 | 31 | { |
@@ -40,8 +40,8 @@ discard block |
||
| 40 | 40 | /** |
| 41 | 41 | * Get the specified configuration value. |
| 42 | 42 | * |
| 43 | - * @param array|string $key |
|
| 44 | - * @param mixed $default |
|
| 43 | + * @param string $key |
|
| 44 | + * @param string $default |
|
| 45 | 45 | * @return mixed |
| 46 | 46 | */ |
| 47 | 47 | public function get($key, $default = null) |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | /** |
| 78 | 78 | * Set a given configuration value. |
| 79 | 79 | * |
| 80 | - * @param array|string $key |
|
| 80 | + * @param string $key |
|
| 81 | 81 | * @param mixed $value |
| 82 | 82 | * @return void |
| 83 | 83 | */ |
@@ -372,7 +372,7 @@ discard block |
||
| 372 | 372 | * Give the user a single choice from an array of answers. |
| 373 | 373 | * |
| 374 | 374 | * @param string $question |
| 375 | - * @param array $choices |
|
| 375 | + * @param string[] $choices |
|
| 376 | 376 | * @param string|null $default |
| 377 | 377 | * @param mixed|null $attempts |
| 378 | 378 | * @param bool|null $multiple |
@@ -390,8 +390,8 @@ discard block |
||
| 390 | 390 | /** |
| 391 | 391 | * Format input to textual table. |
| 392 | 392 | * |
| 393 | - * @param array $headers |
|
| 394 | - * @param \Illuminate\Contracts\Support\Arrayable|array $rows |
|
| 393 | + * @param string[] $headers |
|
| 394 | + * @param \Illuminate\Support\Collection $rows |
|
| 395 | 395 | * @param string $tableStyle |
| 396 | 396 | * @param array $columnStyles |
| 397 | 397 | * @return void |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | /** |
| 46 | 46 | * Execute the console command. |
| 47 | 47 | * |
| 48 | - * @return bool|null |
|
| 48 | + * @return false|null |
|
| 49 | 49 | */ |
| 50 | 50 | public function handle() |
| 51 | 51 | { |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | /** |
| 55 | 55 | * Extract all of the parameters from the tokens. |
| 56 | 56 | * |
| 57 | - * @param array $tokens |
|
| 57 | + * @param string[] $tokens |
|
| 58 | 58 | * @return array |
| 59 | 59 | */ |
| 60 | 60 | protected static function parameters(array $tokens) |
@@ -594,7 +594,7 @@ |
||
| 594 | 594 | /** |
| 595 | 595 | * Register a callback to further filter the schedule. |
| 596 | 596 | * |
| 597 | - * @param \Closure|bool $callback |
|
| 597 | + * @param Closure $callback |
|
| 598 | 598 | * @return $this |
| 599 | 599 | */ |
| 600 | 600 | public function skip($callback) |
@@ -370,7 +370,7 @@ |
||
| 370 | 370 | /** |
| 371 | 371 | * Set the days of the week the command should run on. |
| 372 | 372 | * |
| 373 | - * @param array|mixed $days |
|
| 373 | + * @param integer $days |
|
| 374 | 374 | * @return $this |
| 375 | 375 | */ |
| 376 | 376 | public function days($days) |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | * |
| 67 | 67 | * @param \Illuminate\Container\Container $container |
| 68 | 68 | * @param callable $callback |
| 69 | - * @param mixed $default |
|
| 69 | + * @param Closure $default |
|
| 70 | 70 | * @return mixed |
| 71 | 71 | */ |
| 72 | 72 | protected static function callBoundMethod($container, $callback, $default) |
@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | /** |
| 167 | 167 | * Determine if the given string is in Class@method syntax. |
| 168 | 168 | * |
| 169 | - * @param mixed $callback |
|
| 169 | + * @param callable $callback |
|
| 170 | 170 | * @return bool |
| 171 | 171 | */ |
| 172 | 172 | protected static function isCallableWithAtSign($callback) |