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N'|'PR'|'PS'|'PT'|'PW'|'PY'|'QA'|'RE'|'RO'|'RS'|'RU'|'RW'|'SA'|'SB'|'SC'|'SD'|'SE'|'SG'|'SH'|'SI'|'SJ'|'SK'|'SL'|'SM'|'SN'|'SO'|'SR'|'ST'|'SU'|'SV'|'SY'|'SZ'|'TC'|'TD'|'TF'|'TG'|'TH'|'TJ'|'TK'|'TL'|'TM'|'TN'|'TO'|'TP'|'TR'|'TT'|'TV'|'TW'|'TZ'|'UA'|'UG'|'UK'|'UM'|'US'|'UY'|'UZ'|'VA'|'VC'|'VE'|'VG'|'VI'|'VN'|'VU'|'WF'|'WS'|'YE'|'YT'|'YU'|'ZA'|'ZM'|'ZW'} |
|
59 | 58 | * @return AddressInterface |
60 | 59 | */ |
61 | 60 | public function setCountryCode($countryCode); |
@@ -89,7 +89,7 @@ |
||
89 | 89 | |
90 | 90 | /** |
91 | 91 | * exclude methods from the automatism |
92 | - * @param $methods |
|
92 | + * @param string[] $methods |
|
93 | 93 | */ |
94 | 94 | public function setExcludeMethods($methods) |
95 | 95 | { |
@@ -21,7 +21,7 @@ |
||
21 | 21 | * Create the Json Entity Hydrator |
22 | 22 | * |
23 | 23 | * @param ServiceLocatorInterface $serviceLocator |
24 | - * @return JsonEntityHydrator |
|
24 | + * @return EntityHydrator |
|
25 | 25 | */ |
26 | 26 | public function createService(ServiceLocatorInterface $serviceLocator) |
27 | 27 | { |
@@ -24,7 +24,7 @@ |
||
24 | 24 | |
25 | 25 | /** |
26 | 26 | * @param $data |
27 | - * @return mixed |
|
27 | + * @return Snapshot |
|
28 | 28 | * @ODM\PreUpdate |
29 | 29 | */ |
30 | 30 | public function __invoke($data) |
@@ -73,7 +73,7 @@ |
||
73 | 73 | * |
74 | 74 | * Proxies to {@link render()}. |
75 | 75 | * |
76 | - * @param null|ElementInterface $element |
|
76 | + * @param null|ElementInterface $elements |
|
77 | 77 | * @param null|string $labelPosition |
78 | 78 | * @param bool $renderErrors |
79 | 79 | * @return string|FormRow |
@@ -42,7 +42,7 @@ |
||
42 | 42 | |
43 | 43 | /** |
44 | 44 | * @param LoggerInterface $log |
45 | - * @param null $redirect |
|
45 | + * @param \Closure $redirect |
|
46 | 46 | */ |
47 | 47 | public function __construct(LoggerInterface $log, $redirect = null) |
48 | 48 | { |
@@ -199,6 +199,10 @@ |
||
199 | 199 | return $lang; |
200 | 200 | } |
201 | 201 | |
202 | + /** |
|
203 | + * @param \Zend\Stdlib\ResponseInterface $response |
|
204 | + * @param string $uri |
|
205 | + */ |
|
202 | 206 | protected function redirect($response, $uri) |
203 | 207 | { |
204 | 208 | $response->setStatusCode(302); |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | * |
135 | 135 | * @param string $name |
136 | 136 | * @param mixed $value |
137 | - * @return ViewModel |
|
137 | + * @return HTMLTemplateMessage |
|
138 | 138 | */ |
139 | 139 | public function setVariable($name, $value) |
140 | 140 | { |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | * |
196 | 196 | * Resets the internal variable container to an empty container. |
197 | 197 | * |
198 | - * @return ViewModel |
|
198 | + * @return HTMLTemplateMessage |
|
199 | 199 | */ |
200 | 200 | public function clearVariables() |
201 | 201 | { |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | /** |
207 | 207 | * |
208 | 208 | * |
209 | - * @param $template |
|
209 | + * @param string $template |
|
210 | 210 | * |
211 | 211 | * @return self |
212 | 212 | */ |
@@ -216,6 +216,9 @@ discard block |
||
216 | 216 | return $this; |
217 | 217 | } |
218 | 218 | |
219 | + /** |
|
220 | + * @return string |
|
221 | + */ |
|
219 | 222 | public function getTemplate() |
220 | 223 | { |
221 | 224 | return $this->template; |
@@ -123,7 +123,7 @@ |
||
123 | 123 | /** |
124 | 124 | * Gets the default from address |
125 | 125 | * |
126 | - * @return null|String|Address|AddressList|array |
|
126 | + * @return string |
|
127 | 127 | */ |
128 | 128 | public function getFrom() |
129 | 129 | { |