params['user_id'] ?? 0; $gameId = (int)$this->params['game_id'] ?? 0; $loginTime = (int)$this->params['login_time'] ?? 0; /** * @var UserService $userService */ $userService = make(UserService::class); $userService->afterLogin($userId, $gameId, $loginTime); } }