From 04db99730d9bf0293a403860893d5a031f8223f1 Mon Sep 17 00:00:00 2001 From: Alex Kirk Date: Wed, 9 Nov 2022 07:17:59 -0700 Subject: [PATCH] phpcs --- includes/rest/class-webfinger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/rest/class-webfinger.php b/includes/rest/class-webfinger.php index ebf3890..1b00d86 100644 --- a/includes/rest/class-webfinger.php +++ b/includes/rest/class-webfinger.php @@ -153,7 +153,7 @@ class Webfinger { } foreach ( $body['links'] as $link ) { - if ( $link['rel'] === 'self' && $link['type'] == 'application/activity+json' ) { + if ( 'self' === $link['rel'] && 'application/activity+json' === $link['type'] ) { return $link['href']; } }