public function rollback(): self
    {
        ($this->fulfill)(
            new Request(
                $this->current()->endpoint(),
                Method::delete(),
                new ProtocolVersion(1, 1)
            )
        );
        $this->transactions = $this->transactions->dropEnd(1);

        return $this;
    }
public function rollback(): self
    {
        ($this->fulfill)(
            new Request(
                $this->current()->endpoint(),
                Method::delete(),
                new ProtocolVersion(1, 1)
            )
        );
        $this->transactions = $this->transactions->dropEnd(1);

        return $this;
    }
public function rollback ( ) : self { ( $ this -> fulfill ) ( new Request ( $ this -> current ( ) -> endpoint ( ) , Method :: delete ( ) , new ProtocolVersion ( 1 , 1 ) ) ) ; $ this -> transactions = $ this -> transactions -> dropEnd ( 1 ) ; return $ this ; }
Rollback the current transaction

@return self
Rollback the current transaction