The more preferred way to fix the deprecated `getRequest` method is to type-hint `$request` as an argument:

```php
public function attendAction(Request $request, $id)
```

What do you think? Do you want to update the PR for that change?

Thanks!