From b64e97776dc48aed6a54e14a89b575956778869a Mon Sep 17 00:00:00 2001 From: Andy Fragen Date: Thu, 17 Jul 2025 15:43:38 -0700 Subject: [PATCH] Fix code standards issues (#171) Signed-off-by: Andy Fragen --- inc/settings/namespace.php | 5 ++--- inc/upgrades/namespace.php | 4 ++-- phpcs.xml.dist | 4 ++++ 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/inc/settings/namespace.php b/inc/settings/namespace.php index 4fb883b..d7561db 100644 --- a/inc/settings/namespace.php +++ b/inc/settings/namespace.php @@ -8,7 +8,6 @@ namespace FAIR\Settings; use const FAIR\Avatars\AVATAR_SRC_SETTING_KEY; -/* phpcs:disable Squiz.PHP.EmbeddedPhp.ContentBeforeOpen, Squiz.PHP.EmbeddedPhp.ContentAfterOpen, Squiz.PHP.EmbeddedPhp.ContentBeforeEnd */ /** * Bootstrap. @@ -89,9 +88,9 @@ function save_multisite_avatar_settings() { * * @param array $args The args passed from the `add_settings_field` call or our own. * - * @return HTML + * @return void */ -function site_avatar_source_field( $args ) { +function site_avatar_source_field( $args ) : void { // The rest of the table markup is there, so begin with the select. echo '