Maybe use the shortcut ternary for these declarations?

```php
$options['actor'] = $this->actor ?: $this->getActor();
```

This might aid readability throughout this method.