@@ -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 | { |
@@ -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 | |
@@ -33,8 +34,9 @@ discard block |
||
33 | 34 | * @param string $format |
34 | 35 | * @param string $resource |
35 | 36 | * @param string $domain |
36 | - * @param \Symfony\Component\Translation\MessageCatalogue $catalogue |
|
37 | + * @param 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 |
@@ -338,6 +338,7 @@ |
||
338 | 338 | /** |
339 | 339 | * Returns link to editor. |
340 | 340 | * |
341 | + * @param string $text |
|
341 | 342 | * @return \Nette\Utils\Html|string |
342 | 343 | */ |
343 | 344 | private static function editorLink($file, $line, $text = NULL) |
@@ -53,8 +53,9 @@ |
||
53 | 53 | } |
54 | 54 | |
55 | 55 | /** |
56 | - * @param string|\Kdyby\Translation\Phrase $message |
|
56 | + * @param string $message |
|
57 | 57 | * @param array|string|NULL ...$arg |
58 | + * @param integer|null $arg |
|
58 | 59 | * @return string |
59 | 60 | */ |
60 | 61 | public function translate($message, ...$arg): string |