/** * @param Notification $notification * @return \ArrayAccess */ private function postProcessChangesList(Notification $notification) { $changes = $notification->getChangeList(); if (isset($changes['Reporter']) && strpos($changes['Reporter'], '_')) { $r = $changes['Reporter']; $u = User::fromString($r); $details = $this->userService->fetchUserDetails($u); $changes['Reporter'] = $details->getFullName(); } return $changes; }