Should be:
```php
if ($input->hasArgument('event')) {
    $event = $input->getArgument('event');