PHPCS: fix remaining alignment warnings + multi-line SQL disable/enable blocks

This commit is contained in:
peptiderepo
2026-06-13 09:57:42 +00:00
parent dfaee0bca6
commit 8a38949cee
4 changed files with 19 additions and 16 deletions

View File

@@ -49,8 +49,8 @@ class PRV_Citation_Detector {
$host = (string) wp_parse_url( $url, PHP_URL_HOST );
if ( '' !== $host ) {
$bare = str_starts_with( $host, 'www.' ) ? substr( $host, 4 ) : $host;
$domains[] = strtolower( $bare );
$bare = str_starts_with( $host, 'www.' ) ? substr( $host, 4 ) : $host;
$domains[] = strtolower( $bare );
}
}