style: replace short ternary operator with ?? / explicit ternary to pass WordPress-Core sniff
This commit is contained in:
@@ -68,7 +68,7 @@ class PRAutoBlogger_OpenRouter_Image_Provider implements PRAutoBlogger_Image_Pro
|
||||
|
||||
$curl_filter = $this->request_builder->register_curl_auth_filter(
|
||||
$headers,
|
||||
wp_parse_url( $base_url, PHP_URL_HOST ) ?: ''
|
||||
wp_parse_url( $base_url, PHP_URL_HOST ) ?? ''
|
||||
);
|
||||
|
||||
$started_at = microtime( true );
|
||||
|
||||
Reference in New Issue
Block a user