What about `$request = $this->request`? That would avoid the condition below.