Automattic\WooCommerce\Vendor\GraphQL\Error

FormattedError::spaces │ private static │ WC 1.0

Method of the class: FormattedError{}

No Hooks.

Returns

null. Nothing (null).

Usage

$result = FormattedError::spaces( $length ): string;
$length(int) (required)
.

FormattedError::spaces() code WC 11.1.2

private static function spaces(int $length): string
{
    return str_repeat(' ', $length);
}