@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | * Helper method to get input argument |
37 | 37 | * |
38 | 38 | * @param string $name |
39 | - * @return mixed |
|
39 | + * @return string |
|
40 | 40 | */ |
41 | 41 | public function arg(string $name) |
42 | 42 | { |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | * Helper method to get input option |
84 | 84 | * |
85 | 85 | * @param string $name |
86 | - * @return mixed |
|
86 | + * @return string |
|
87 | 87 | */ |
88 | 88 | public function opt(string $name) |
89 | 89 | { |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | * Returns command arguments array |
95 | 95 | * Values must be instances of InputArgument |
96 | 96 | * |
97 | - * @return array|InputArgument[] |
|
97 | + * @return \Symfony\Component\Console\Input\InputArgument[] |
|
98 | 98 | */ |
99 | 99 | public function returnArguments(): array |
100 | 100 | { |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | * Returns command options array |
106 | 106 | * Values must be instances of InputOption |
107 | 107 | * |
108 | - * @return array|InputOption[] |
|
108 | + * @return \Symfony\Component\Console\Input\InputOption[] |
|
109 | 109 | */ |
110 | 110 | public function returnOptions(): array |
111 | 111 | { |
@@ -397,7 +397,7 @@ |
||
397 | 397 | /** |
398 | 398 | * Verifies that provided callable can be called by service container. |
399 | 399 | * |
400 | - * @param $normalizedCallable |
|
400 | + * @param callable $normalizedCallable |
|
401 | 401 | * @return bool |
402 | 402 | */ |
403 | 403 | private function isResolvableCallable($normalizedCallable): bool |
@@ -18,6 +18,7 @@ |
||
18 | 18 | /** |
19 | 19 | * @inheritDoc |
20 | 20 | * @param ArgumentResolverException $previous |
21 | + * @param string $entryId |
|
21 | 22 | */ |
22 | 23 | public function __construct($entryId, array $referenceChain, ArgumentResolverException $previous) |
23 | 24 | { |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | /** |
54 | 54 | * Method that transforms Class to a plain text to include it in Response header |
55 | 55 | * |
56 | - * @return mixed |
|
56 | + * @return string |
|
57 | 57 | */ |
58 | 58 | public function asPlainText(); |
59 | 59 | |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | public function getName(); |
74 | 74 | |
75 | 75 | /** |
76 | - * @return string; |
|
76 | + * @return string|null |
|
77 | 77 | */ |
78 | 78 | public function getValue(); |
79 | 79 |
@@ -25,7 +25,7 @@ |
||
25 | 25 | /** |
26 | 26 | * ErrorHandlerLogger constructor. |
27 | 27 | * |
28 | - * @param LoggerInterface $logger |
|
28 | + * @param \Psr\Log\LoggerInterface $logger |
|
29 | 29 | */ |
30 | 30 | public function __construct(LoggerInterface $logger) |
31 | 31 | { |
@@ -46,7 +46,7 @@ |
||
46 | 46 | /** |
47 | 47 | * Adding error handling middleware |
48 | 48 | * |
49 | - * @param \Venta\Contracts\Routing\MiddlewareCollector $middlewareCollector |
|
49 | + * @param \Mockery\MockInterface $middlewareCollector |
|
50 | 50 | * @return void |
51 | 51 | */ |
52 | 52 | public function provideMiddlewares(MiddlewareCollector $middlewareCollector) |
@@ -28,11 +28,11 @@ discard block |
||
28 | 28 | /** |
29 | 29 | * Cookie constructor. |
30 | 30 | * |
31 | - * @param $name |
|
32 | - * @param null $value |
|
31 | + * @param string $name |
|
32 | + * @param string $value |
|
33 | 33 | * @param int $expire |
34 | 34 | * @param string $path |
35 | - * @param null $domain |
|
35 | + * @param string $domain |
|
36 | 36 | * @param bool $secure |
37 | 37 | * @param bool $httpOnly |
38 | 38 | */ |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | } |
96 | 96 | |
97 | 97 | /** |
98 | - * @param $days |
|
98 | + * @param integer $days |
|
99 | 99 | * @return int timestamp |
100 | 100 | */ |
101 | 101 | public static function inDays($days) |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | } |
105 | 105 | |
106 | 106 | /** |
107 | - * @param $hours |
|
107 | + * @param integer $hours |
|
108 | 108 | * @return int timestamp |
109 | 109 | */ |
110 | 110 | public static function inHours($hours) |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | } |
114 | 114 | |
115 | 115 | /** |
116 | - * @param $minutes |
|
116 | + * @param integer $minutes |
|
117 | 117 | * @return int timestamp |
118 | 118 | */ |
119 | 119 | public static function inMinutes($minutes) |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | } |
123 | 123 | |
124 | 124 | /** |
125 | - * @param $months |
|
125 | + * @param integer $months |
|
126 | 126 | * @return int timestamp |
127 | 127 | */ |
128 | 128 | public static function inMonths($months) |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | } |
132 | 132 | |
133 | 133 | /** |
134 | - * @param $days |
|
134 | + * @param integer $days |
|
135 | 135 | * @return int timestamp |
136 | 136 | */ |
137 | 137 | public static function inWeeks($days) |
@@ -43,7 +43,7 @@ |
||
43 | 43 | |
44 | 44 | /** |
45 | 45 | * @param \Swift_Events_EventObject $evt |
46 | - * @param $target |
|
46 | + * @param string $target |
|
47 | 47 | * @return string |
48 | 48 | */ |
49 | 49 | protected function normalizeEventName(Swift_Events_EventObject $evt, $target) |
@@ -223,7 +223,7 @@ |
||
223 | 223 | /** |
224 | 224 | * Returns proper transport closure factory |
225 | 225 | * |
226 | - * @param $transportName |
|
226 | + * @param string $transportName |
|
227 | 227 | * @return \Closure |
228 | 228 | */ |
229 | 229 | protected function getTransport($transportName) |