```php
class JsonResponse extends Response
```

The type hint should not fail.