Security/OpauthToken.php
public function serialize()
    {
        return serialize(
            array(
                $this->uid,
                $this->provider,
                $this->info,
                $this->credentials,
                $this->raw,
                parent::serialize(),
            )
        );
    }
public function serialize()
    {
        return serialize(
            array(
                $this->uid,
                $this->provider,
                $this->info,
                $this->credentials,
                $this->raw,
                parent::serialize(),
            )
        );
    }
{@inheritdoc}