/** * We setup the notification settings regardless of the client asking the * scope or not. * @param OAuthEvent $event */ public function setupNotificationSettings(OAuthEvent $event) { $person = $this->getUser($event); $client = $event->getClient(); $this->notificationHandler->getSettingsByClient($person, $client); $this->notificationHandler->initializeSettings($person, $client); }