Automattic\WooCommerce\Vendor\GraphQL\Error
FormattedError::spaces
Method of the class: FormattedError{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = FormattedError::spaces( $length ): string;
- $length(int) (required)
- .
FormattedError::spaces() FormattedError::spaces code WC 10.9.1
private static function spaces(int $length): string
{
return str_repeat(' ', $length);
}