Skip to content

Commit

Permalink
Fix phpstan issues
Browse files Browse the repository at this point in the history
  • Loading branch information
carstingaxion committed Aug 17, 2023
1 parent ca46b31 commit dd994e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/remove-selfping/namespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ] );
Expand Down

0 comments on commit dd994e2

Please sign in to comment.