public static function missingArgument($target, string $method, int $index): self
    {
        return new self(sprintf(
            'Missing argument %d for method %s::%s().',
            $index,
            get_class($target),
            $method
        ));
    }
public static function missingArgument($target, string $method, int $index): self
    {
        return new self(sprintf(
            'Missing argument %d for method %s::%s().',
            $index,
            get_class($target),
            $method
        ));
    }
public static function missingArgument ( $ target , string $ method , int $ index ) : self { return new self ( sprintf ( 'Missing argument %d for method %s::%s().' , $ index , get_class ( $ target ) , $ method ) ) ; }
Creates an instance for a missing argument.

@param object $target
@param string $method
@param int    $index

@return self
Creates an instance for a missing argument .