Yoast\WP\SEO\MyYoast_Client\Domain
Token_Set::with_incremented_error_count
Returns a new Token_Set with an incremented error count.
Метод класса: Token_Set{}
Хуков нет.
Возвращает
self.
Использование
$Token_Set = new Token_Set(); $Token_Set->with_incremented_error_count(): self;
Код Token_Set::with_incremented_error_count() Token Set::with incremented error count Yoast 28.3
public function with_incremented_error_count(): self {
return new self(
$this->access_token,
$this->expires_at,
$this->token_type,
$this->refresh_token,
$this->id_token,
$this->scope,
$this->error_count + 1,
$this->resource_indicator,
);
}