src/Transactions/Builder/SecondSignatureRegistration.php
public function signature(string $secondPassphrase): self
    {
        $this->transaction->asset = [
            'signature' => [
                'publicKey' => PublicKey::fromPassphrase($secondPassphrase)->getHex(),
            ],
        ];

        return $this;
    }
public function signature(string $secondPassphrase): self
    {
        $this->transaction->asset = [
            'signature' => [
                'publicKey' => PublicKey::fromPassphrase($secondPassphrase)->getHex(),
            ],
        ];

        return $this;
    }
public function signature ( string $ secondPassphrase ) : self { $ this -> transaction -> asset = [ 'signature' => [ 'publicKey' => PublicKey :: fromPassphrase ( $ secondPassphrase ) -> getHex ( ) , ] , ] ; return $ this ; }
Set the signature asset to register the second passphrase.

@param string $secondPassphrase

@return \ArkEcosystem\Crypto\Transactions\Builder\SecondSignatureRegistration
Set the signature asset to register the second passphrase .