Completed
Push — master ( ace8e4...b66875 )
by Filip
03:09
created
src/IResourceLoader.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/PrefixedTranslator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,8 +61,8 @@
 block discarded – undo
61 61
 
62 62
 
63 63
 	/**
64
-	 * @param string|\Kdyby\Translation\Phrase $message
65
-	 * @param int|array|NULL $count
64
+	 * @param string $message
65
+	 * @param integer|null $count
66 66
 	 * @param array|string|NULL $parameters
67 67
 	 * @param string|NULL $domain
68 68
 	 * @param string|NULL $locale
Please login to merge, or discard this patch.
src/CatalogueFactory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -50,6 +50,9 @@
 block discarded – undo
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
 	{
Please login to merge, or discard this patch.
src/Diagnostics/Panel.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
 
245 245
 
246 246
 	/**
247
-	 * @param \Exception|\Throwable $e
247
+	 * @param \Exception $e
248 248
 	 * @param string|NULL $domain
249 249
 	 */
250 250
 	public function choiceError($e, $domain)
@@ -362,6 +362,7 @@  discard block
 block discarded – undo
362 362
 	/**
363 363
 	 * Returns link to editor.
364 364
 	 * @author David Grudl
365
+	 * @param string $text
365 366
 	 * @return Nette\Utils\Html|string
366 367
 	 */
367 368
 	private static function editorLink($file, $line, $text = NULL)
Please login to merge, or discard this patch.
src/Translator.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
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
@@ -197,6 +197,8 @@  discard block
 block discarded – undo
197 197
 
198 198
 	/**
199 199
 	 * {@inheritdoc}
200
+	 * @param string $domain
201
+	 * @param string $locale
200 202
 	 */
201 203
 	public function trans($message, array $parameters = [], $domain = NULL, $locale = NULL)
202 204
 	{
@@ -224,6 +226,8 @@  discard block
 block discarded – undo
224 226
 
225 227
 	/**
226 228
 	 * {@inheritdoc}
229
+	 * @param string $domain
230
+	 * @param string $locale
227 231
 	 */
228 232
 	public function transChoice($message, $number, array $parameters = [], $domain = NULL, $locale = NULL)
229 233
 	{
Please login to merge, or discard this patch.