@@ -33,7 +33,7 @@ |
||
33 | 33 | * Retrieve the handler for a command. |
34 | 34 | * |
35 | 35 | * @param mixed $command |
36 | - * @return bool|mixed |
|
36 | + * @return boolean |
|
37 | 37 | */ |
38 | 38 | public function getCommandHandler($command); |
39 | 39 |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | * Retrieve an item from the cache by key. |
20 | 20 | * |
21 | 21 | * @param string $key |
22 | - * @param mixed $default |
|
22 | + * @param integer $default |
|
23 | 23 | * @return mixed |
24 | 24 | */ |
25 | 25 | public function get($key, $default = null); |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | * |
39 | 39 | * @param string $key |
40 | 40 | * @param mixed $value |
41 | - * @param \DateTimeInterface|\DateInterval|float|int $minutes |
|
41 | + * @param integer $minutes |
|
42 | 42 | * @return void |
43 | 43 | */ |
44 | 44 | public function put($key, $value, $minutes); |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * |
49 | 49 | * @param string $key |
50 | 50 | * @param mixed $value |
51 | - * @param \DateTimeInterface|\DateInterval|float|int $minutes |
|
51 | + * @param integer $minutes |
|
52 | 52 | * @return bool |
53 | 53 | */ |
54 | 54 | public function add($key, $value, $minutes); |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | * Increment the value of an item in the cache. |
58 | 58 | * |
59 | 59 | * @param string $key |
60 | - * @param mixed $value |
|
60 | + * @param integer $value |
|
61 | 61 | * @return int|bool |
62 | 62 | */ |
63 | 63 | public function increment($key, $value = 1); |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | * Decrement the value of an item in the cache. |
67 | 67 | * |
68 | 68 | * @param string $key |
69 | - * @param mixed $value |
|
69 | + * @param integer $value |
|
70 | 70 | * @return int|bool |
71 | 71 | */ |
72 | 72 | public function decrement($key, $value = 1); |
@@ -7,7 +7,7 @@ discard block |
||
7 | 7 | /** |
8 | 8 | * Retrieve an item from the cache by key. |
9 | 9 | * |
10 | - * @param string|array $key |
|
10 | + * @param string $key |
|
11 | 11 | * @return mixed |
12 | 12 | */ |
13 | 13 | public function get($key); |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | * Increment 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 int|bool |
50 | 50 | */ |
51 | 51 | public function increment($key, $value = 1); |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | * Decrement the value of an item in the cache. |
55 | 55 | * |
56 | 56 | * @param string $key |
57 | - * @param mixed $value |
|
57 | + * @param integer $value |
|
58 | 58 | * @return int|bool |
59 | 59 | */ |
60 | 60 | public function decrement($key, $value = 1); |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | * Register a binding with the container. |
46 | 46 | * |
47 | 47 | * @param string $abstract |
48 | - * @param \Closure|string|null $concrete |
|
48 | + * @param Closure $concrete |
|
49 | 49 | * @param bool $shared |
50 | 50 | * @return void |
51 | 51 | */ |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | * Register a shared binding in the container. |
66 | 66 | * |
67 | 67 | * @param string $abstract |
68 | - * @param \Closure|string|null $concrete |
|
68 | + * @param Closure $concrete |
|
69 | 69 | * @return void |
70 | 70 | */ |
71 | 71 | public function singleton($abstract, $concrete = null); |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | * |
112 | 112 | * @param string $abstract |
113 | 113 | * @param array $parameters |
114 | - * @return mixed |
|
114 | + * @return \Symfony\Component\Console\Command\Command |
|
115 | 115 | */ |
116 | 116 | public function make($abstract, array $parameters = []); |
117 | 117 | |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | /** |
146 | 146 | * Register a new after resolving callback. |
147 | 147 | * |
148 | - * @param \Closure|string $abstract |
|
148 | + * @param string $abstract |
|
149 | 149 | * @param \Closure|null $callback |
150 | 150 | * @return void |
151 | 151 | */ |
@@ -26,7 +26,7 @@ |
||
26 | 26 | * Send a new message when only a raw text part. |
27 | 27 | * |
28 | 28 | * @param string $text |
29 | - * @param mixed $callback |
|
29 | + * @param \Closure $callback |
|
30 | 30 | * @return void |
31 | 31 | */ |
32 | 32 | public function raw($text, $callback); |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | * Push a new job onto the queue. |
27 | 27 | * |
28 | 28 | * @param string $queue |
29 | - * @param string|object $job |
|
29 | + * @param string $job |
|
30 | 30 | * @param mixed $data |
31 | 31 | * @return mixed |
32 | 32 | */ |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | * Push a new job onto the queue after a delay. |
47 | 47 | * |
48 | 48 | * @param \DateTimeInterface|\DateInterval|int $delay |
49 | - * @param string|object $job |
|
49 | + * @param string $job |
|
50 | 50 | * @param mixed $data |
51 | 51 | * @param string $queue |
52 | 52 | * @return mixed |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * |
59 | 59 | * @param string $queue |
60 | 60 | * @param \DateTimeInterface|\DateInterval|int $delay |
61 | - * @param string|object $job |
|
61 | + * @param string $job |
|
62 | 62 | * @param mixed $data |
63 | 63 | * @return mixed |
64 | 64 | */ |
@@ -35,7 +35,7 @@ |
||
35 | 35 | /** |
36 | 36 | * Add a piece of shared data to the environment. |
37 | 37 | * |
38 | - * @param array|string $key |
|
38 | + * @param string $key |
|
39 | 39 | * @param mixed $value |
40 | 40 | * @return mixed |
41 | 41 | */ |
@@ -25,7 +25,7 @@ |
||
25 | 25 | * Create a new database capsule manager. |
26 | 26 | * |
27 | 27 | * @param \Illuminate\Container\Container|null $container |
28 | - * @return void |
|
28 | + * @return string|null |
|
29 | 29 | */ |
30 | 30 | public function __construct(Container $container = null) |
31 | 31 | { |
@@ -80,7 +80,7 @@ |
||
80 | 80 | /** |
81 | 81 | * Apply the callback's query changes if the given "value" is true. |
82 | 82 | * |
83 | - * @param mixed $value |
|
83 | + * @param boolean $value |
|
84 | 84 | * @param callable $callback |
85 | 85 | * @param callable $default |
86 | 86 | * @return mixed|$this |