@@ -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 |
@@ -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) |
@@ -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 |
@@ -503,7 +503,7 @@ |
||
503 | 503 | } |
504 | 504 | |
505 | 505 | /** |
506 | - * @param string|\stdClass $statement |
|
506 | + * @param Statement $statement |
|
507 | 507 | * @return \Nette\DI\Statement[] |
508 | 508 | */ |
509 | 509 | protected static function filterArgs($statement) |