private function secret($secret): void
    {
        if (false === is_array($secret) && false === is_string($secret)) {
            throw new InvalidArgumentException(
                'Secret must be either a string or an array of "kid" => "secret" pairs'
            );
        }
        $this->options["secret"] = $secret;
    }
private function secret($secret): void
    {
        if (false === is_array($secret) && false === is_string($secret)) {
            throw new InvalidArgumentException(
                'Secret must be either a string or an array of "kid" => "secret" pairs'
            );
        }
        $this->options["secret"] = $secret;
    }
private function secret ( $ secret ) : void { if ( false === is_array ( $ secret ) && false === is_string ( $ secret ) ) { throw new InvalidArgumentException ( 'Secret must be either a string or an array of "kid" => "secret" pairs' ) ; } $ this -> options [ "secret" ] = $ secret ; }
Set the secret key.
Set the secret key .