@@ -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 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Gettext\Generators; |
| 4 | 4 | |
| 5 | 5 | use Gettext\Translations; |
| 6 | -use Symfony\Component\Serializer\Encoder\JsonEncoder; |
|
| 7 | 6 | |
| 8 | 7 | class JsonDictionary extends Generator implements GeneratorInterface |
| 9 | 8 | { |