Wrong declaration for both:
```php
/**
 * @param string             $interface
 * @param GeneratorInterface $generator
 */