@@ -136,7 +136,7 @@ |
||
| 136 | 136 | * Translates the given string. |
| 137 | 137 | * |
| 138 | 138 | * @param string|\Kdyby\Translation\Phrase|mixed $message The message id |
| 139 | - * @param int|array|NULL $count The number to use to find the indice of the message |
|
| 139 | + * @param integer|null $count The number to use to find the indice of the message |
|
| 140 | 140 | * @param string|array|NULL $parameters An array of parameters for the message |
| 141 | 141 | * @param string|NULL $domain The domain for the message |
| 142 | 142 | * @param string|NULL $locale The locale |
@@ -225,7 +225,7 @@ discard block |
||
| 225 | 225 | } |
| 226 | 226 | |
| 227 | 227 | /** |
| 228 | - * @param \Exception|\Throwable $e |
|
| 228 | + * @param \Exception $e |
|
| 229 | 229 | * @param string|NULL $domain |
| 230 | 230 | */ |
| 231 | 231 | public function choiceError($e, $domain) |
@@ -330,6 +330,8 @@ discard block |
||
| 330 | 330 | /** |
| 331 | 331 | * Returns link to editor. |
| 332 | 332 | * |
| 333 | + * @param integer $line |
|
| 334 | + * @param string $text |
|
| 333 | 335 | * @return \Nette\Utils\Html|string |
| 334 | 336 | */ |
| 335 | 337 | private static function editorLink($file, $line, $text = NULL) |
@@ -21,6 +21,7 @@ discard block |
||
| 21 | 21 | * |
| 22 | 22 | * @param string $format The format of the loader |
| 23 | 23 | * @param \Symfony\Component\Translation\Loader\LoaderInterface $loader |
| 24 | + * @return void |
|
| 24 | 25 | */ |
| 25 | 26 | public function addLoader($format, LoaderInterface $loader); |
| 26 | 27 | |
@@ -35,6 +36,7 @@ discard block |
||
| 35 | 36 | * @param string $domain |
| 36 | 37 | * @param \Symfony\Component\Translation\MessageCatalogue $catalogue |
| 37 | 38 | * @throws \Kdyby\Translation\LoaderNotFoundException |
| 39 | + * @return void |
|
| 38 | 40 | */ |
| 39 | 41 | public function loadResource($format, $resource, $domain, MessageCatalogue $catalogue); |
| 40 | 42 | |
@@ -53,8 +53,8 @@ |
||
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | /** |
| 56 | - * @param string|\Kdyby\Translation\Phrase $message |
|
| 57 | - * @param int|array|NULL $count |
|
| 56 | + * @param string $message |
|
| 57 | + * @param integer|null $count |
|
| 58 | 58 | * @param array|string|NULL $parameters |
| 59 | 59 | * @param string|NULL $domain |
| 60 | 60 | * @param string|NULL $locale |