private function getEndCall(Expr $arg = null)
    {
        if ($arg === null) {
            $arg = NoReturnValue::create();
        }

        return new StaticCall(new FullyQualifiedName('Psy\Command\TimeitCommand'), 'markEnd', [new Arg($arg)]);
    }
private function getEndCall(Expr $arg = null)
    {
        if ($arg === null) {
            $arg = NoReturnValue::create();
        }

        return new StaticCall(new FullyQualifiedName('Psy\Command\TimeitCommand'), 'markEnd', [new Arg($arg)]);
    }
private function getEndCall ( Expr $ arg = null ) { if ( $ arg === null ) { $ arg = NoReturnValue :: create ( ) ; } return new StaticCall ( new FullyQualifiedName ( 'Psy\Command\TimeitCommand' ) , 'markEnd' , [ new Arg ( $ arg ) ] ) ; }
Get PhpParser AST nodes for a `markEnd` call.

Optionally pass in a return value.

@param Expr|null $arg

@return PhpParser\Node\Expr\StaticCall
Get PhpParser AST nodes for a markEnd call .