/** * AuthorizationResult constructor. * * @param \string[] $requiredScopes * @param \string[] $authorizedScopes * @param string $accessToken */ public function __construct($accessToken = null, array $requiredScopes = [], array $authorizedScopes = []) { $this->requiredScopes = $requiredScopes; $this->authorizedScopes = $authorizedScopes; $this->accessToken = $accessToken; parent::__construct([]); }