Completed
Push — v4.0-dev ( 627b53 )
by Oscar
03:24
created
src/Extractors/Twig.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      * Initialise Twig if it isn't already, and add a given Twig extension.
40 40
      * This must be called before calling fromString().
41 41
      *
42
-     * @param mixed $extension Already initialised extension to add
42
+     * @param string $extension Already initialised extension to add
43 43
      */
44 44
     public static function addExtension($extension)
45 45
     {
Please login to merge, or discard this patch.
src/Translation.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -214,9 +214,9 @@
 block discarded – undo
214 214
     /**
215 215
      * Gets one or all plural translations.
216 216
      *
217
-     * @param int|null $key The key to return. If is null, return all translations
217
+     * @param integer $key The key to return. If is null, return all translations
218 218
      *
219
-     * @return string|array
219
+     * @return string
220 220
      */
221 221
     public function getPluralTranslation($key = 0)
222 222
     {
Please login to merge, or discard this patch.