@@ -242,7 +242,7 @@ discard block |
||
| 242 | 242 | |
| 243 | 243 | |
| 244 | 244 | /** |
| 245 | - * @param \Exception|\Throwable $e |
|
| 245 | + * @param \Exception $e |
|
| 246 | 246 | */ |
| 247 | 247 | public function choiceError($e, $domain) |
| 248 | 248 | { |
@@ -359,6 +359,7 @@ discard block |
||
| 359 | 359 | /** |
| 360 | 360 | * Returns link to editor. |
| 361 | 361 | * @author David Grudl |
| 362 | + * @param string $text |
|
| 362 | 363 | * @return Nette\Utils\Html|string |
| 363 | 364 | */ |
| 364 | 365 | private static function editorLink($file, $line, $text = NULL) |
@@ -27,6 +27,7 @@ discard block |
||
| 27 | 27 | * |
| 28 | 28 | * @param string $format The format of the loader |
| 29 | 29 | * @param LoaderInterface $loader |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function addLoader($format, LoaderInterface $loader); |
| 32 | 33 | |
@@ -45,6 +46,7 @@ discard block |
||
| 45 | 46 | * @param string $domain |
| 46 | 47 | * @param MessageCatalogue $catalogue |
| 47 | 48 | * @throws LoaderNotFoundException |
| 49 | + * @return void |
|
| 48 | 50 | */ |
| 49 | 51 | public function loadResource($format, $resource, $domain, MessageCatalogue $catalogue); |
| 50 | 52 | |
@@ -50,6 +50,9 @@ |
||
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | 52 | * {@inheritdoc} |
| 53 | + * @param string $format |
|
| 54 | + * @param string $resource |
|
| 55 | + * @param string $locale |
|
| 53 | 56 | */ |
| 54 | 57 | public function addResource($format, $resource, $locale, $domain = 'messages') |
| 55 | 58 | { |
@@ -178,6 +178,7 @@ discard block |
||
| 178 | 178 | |
| 179 | 179 | /** |
| 180 | 180 | * {@inheritdoc} |
| 181 | + * @param string $locale |
|
| 181 | 182 | */ |
| 182 | 183 | public function trans($message, array $parameters = [], $domain = NULL, $locale = NULL) |
| 183 | 184 | { |
@@ -208,6 +209,7 @@ discard block |
||
| 208 | 209 | |
| 209 | 210 | /** |
| 210 | 211 | * {@inheritdoc} |
| 212 | + * @param string $locale |
|
| 211 | 213 | */ |
| 212 | 214 | public function transChoice($message, $number, array $parameters = [], $domain = NULL, $locale = NULL) |
| 213 | 215 | { |
@@ -332,6 +334,7 @@ discard block |
||
| 332 | 334 | |
| 333 | 335 | /** |
| 334 | 336 | * {@inheritdoc} |
| 337 | + * @return string |
|
| 335 | 338 | */ |
| 336 | 339 | public function getLocale() |
| 337 | 340 | { |