@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | * @param string $stepName |
43 | 43 | * @param ParameterBag $queryParameters |
44 | 44 | * |
45 | - * @return Response|View |
|
45 | + * @return RedirectResponse |
|
46 | 46 | */ |
47 | 47 | public function display($scenarioAlias, $stepName, ParameterBag $queryParameters = null); |
48 | 48 | |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * @param string $scenarioAlias |
54 | 54 | * @param string $stepName |
55 | 55 | * |
56 | - * @return Response|View |
|
56 | + * @return RedirectResponse |
|
57 | 57 | */ |
58 | 58 | public function forward($scenarioAlias, $stepName); |
59 | 59 | |
@@ -62,6 +62,7 @@ discard block |
||
62 | 62 | * |
63 | 63 | * @param string $alias |
64 | 64 | * @param ProcessScenarioInterface $scenario |
65 | + * @return void |
|
65 | 66 | */ |
66 | 67 | public function registerScenario($alias, ProcessScenarioInterface $scenario); |
67 | 68 |
@@ -83,7 +83,7 @@ |
||
83 | 83 | /** |
84 | 84 | * Set validation. |
85 | 85 | * |
86 | - * @param callable $validation |
|
86 | + * @param \Closure $validation |
|
87 | 87 | * |
88 | 88 | * @return $this |
89 | 89 | */ |
@@ -187,6 +187,7 @@ |
||
187 | 187 | |
188 | 188 | /** |
189 | 189 | * {@inheritdoc} |
190 | + * @param string $field |
|
190 | 191 | */ |
191 | 192 | private function getFieldName($field) |
192 | 193 | { |
@@ -175,6 +175,9 @@ |
||
175 | 175 | return Driver::QB_SOURCE_ALIAS . '.' . $field; |
176 | 176 | } |
177 | 177 | |
178 | + /** |
|
179 | + * @param string $field |
|
180 | + */ |
|
178 | 181 | private function getInConstraint(AbstractNode $parentNode, $field, array $values) |
179 | 182 | { |
180 | 183 | $orNode = $parentNode->orx(); |
@@ -51,7 +51,6 @@ discard block |
||
51 | 51 | /** |
52 | 52 | * @param GridView $gridView |
53 | 53 | * @param string $template |
54 | - * @param array $variables |
|
55 | 54 | * |
56 | 55 | * @return mixed |
57 | 56 | */ |
@@ -84,8 +83,6 @@ discard block |
||
84 | 83 | |
85 | 84 | /** |
86 | 85 | * @param GridView $gridView |
87 | - * @param Action $action |
|
88 | - * @param mixed $data |
|
89 | 86 | */ |
90 | 87 | public function renderFilter(GridView $gridView, Filter $filter) |
91 | 88 | { |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | } |
47 | 47 | |
48 | 48 | /** |
49 | - * @param $id |
|
49 | + * @param string $id |
|
50 | 50 | * |
51 | 51 | * @return object |
52 | 52 | */ |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | } |
73 | 73 | |
74 | 74 | /** |
75 | - * @param array $headers |
|
75 | + * @param string[] $headers |
|
76 | 76 | * @param array $rows |
77 | 77 | * @param OutputInterface $output |
78 | 78 | */ |
@@ -144,9 +144,9 @@ discard block |
||
144 | 144 | /** |
145 | 145 | * @param OutputInterface $output |
146 | 146 | * @param string $question |
147 | - * @param array $constraints |
|
147 | + * @param \Symfony\Component\Validator\Constraints\NotBlank[] $constraints |
|
148 | 148 | * |
149 | - * @return mixed |
|
149 | + * @return string |
|
150 | 150 | */ |
151 | 151 | protected function askHidden(OutputInterface $output, $question, array $constraints = []) |
152 | 152 | { |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | * @param array $constraints |
160 | 160 | * @param mixed $default |
161 | 161 | * |
162 | - * @return mixed |
|
162 | + * @return string |
|
163 | 163 | */ |
164 | 164 | protected function ask(OutputInterface $output, $question, array $constraints = [], $default = null) |
165 | 165 | { |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | } |
168 | 168 | |
169 | 169 | /** |
170 | - * @param mixed $value |
|
170 | + * @param string $value |
|
171 | 171 | * @param array $constraints |
172 | 172 | * |
173 | 173 | * @return bool |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | * @param string $default |
196 | 196 | * @param bool $hidden |
197 | 197 | * |
198 | - * @return mixed |
|
198 | + * @return string |
|
199 | 199 | */ |
200 | 200 | private function proceedAskRequest(OutputInterface $output, $question, array $constraints = [], $default = null, $hidden = false) |
201 | 201 | { |
@@ -215,7 +215,7 @@ |
||
215 | 215 | /** |
216 | 216 | * @param OutputInterface $output |
217 | 217 | * |
218 | - * @return mixed |
|
218 | + * @return string |
|
219 | 219 | */ |
220 | 220 | private function getAdministratorPassword(OutputInterface $output) |
221 | 221 | { |
@@ -20,6 +20,12 @@ |
||
20 | 20 | protected $help; |
21 | 21 | protected $required; |
22 | 22 | |
23 | + /** |
|
24 | + * @param string $label |
|
25 | + * @param boolean $fulfilled |
|
26 | + * @param string $expected |
|
27 | + * @param string $help |
|
28 | + */ |
|
23 | 29 | public function __construct($label, $fulfilled, $expected, $actual, $required = true, $help = null) |
24 | 30 | { |
25 | 31 | $this->label = $label; |
@@ -19,6 +19,9 @@ |
||
19 | 19 | protected $label; |
20 | 20 | protected $requirements = []; |
21 | 21 | |
22 | + /** |
|
23 | + * @param string $label |
|
24 | + */ |
|
22 | 25 | public function __construct($label) |
23 | 26 | { |
24 | 27 | $this->label = $label; |