@@ -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 |
@@ -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 |
@@ -338,6 +338,8 @@ |
||
338 | 338 | /** |
339 | 339 | * Returns link to editor. |
340 | 340 | * |
341 | + * @param integer $line |
|
342 | + * @param string $text |
|
341 | 343 | * @return \Nette\Utils\Html|string |
342 | 344 | */ |
343 | 345 | 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(string $format, LoaderInterface $loader): void; |
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(string $format, string $resource, string $domain, MessageCatalogue $catalogue): void; |
40 | 42 |