@@ -39,7 +39,7 @@ |
||
| 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 | { |
@@ -214,9 +214,9 @@ |
||
| 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 | { |