src/Verification/IterableVerifier.php
public function firstCall(): Call
    {
        if (isset($this->calls[0])) {
            return $this->callVerifierFactory->fromCall($this->calls[0]);
        }

        throw new UndefinedCallException(0);
    }
public function firstCall(): Call
    {
        if (isset($this->calls[0])) {
            return $this->callVerifierFactory->fromCall($this->calls[0]);
        }

        throw new UndefinedCallException(0);
    }
public function firstCall ( ) : Call { if ( isset ( $ this -> calls [ 0 ] ) ) { return $ this -> callVerifierFactory -> fromCall ( $ this -> calls [ 0 ] ) ; } throw new UndefinedCallException ( 0 ) ; }
Get the first call.

@return Call                   The call.
@throws UndefinedCallException If there are no calls.
Get the first call .