From dd994e228c5fb65b63e250d4680939a387af847f Mon Sep 17 00:00:00 2001 From: Carsten Bach Date: Thu, 17 Aug 2023 17:18:36 +0200 Subject: [PATCH] Fix phpstan issues --- inc/remove-selfping/namespace.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/remove-selfping/namespace.php b/inc/remove-selfping/namespace.php index ffdaa71..530e068 100644 --- a/inc/remove-selfping/namespace.php +++ b/inc/remove-selfping/namespace.php @@ -28,7 +28,7 @@ function bootstrap() :void { * @return void */ function load( &$links ) :void { - $home = get_option( 'home' ); + $home = '' . get_option( 'home' ); // Cast to string, the hard way. foreach ( $links as $l => $link ) { if ( 0 === strpos( $link, $home ) ) { unset( $links[ $l ] );