From 03ec0dc132db8a65ed8b5367de1644eb3832fce8 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 29 Apr 2026 09:24:33 +0200 Subject: [PATCH] Fix newly reported PHPStan error --- src/User_Meta_Command.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/User_Meta_Command.php b/src/User_Meta_Command.php index 9b2e35217..344488f65 100644 --- a/src/User_Meta_Command.php +++ b/src/User_Meta_Command.php @@ -341,9 +341,6 @@ protected function delete_metadata( $object_id, $meta_key, $meta_value = '' ) { private function replace_login_with_user_id( $args ) { $user = $this->fetcher->get_check( $args[0] ); $args[0] = $user->ID; - // TODO: Improve method type eventually. - // Related: https://github.com/phpstan/phpstan/issues/8438. - // @phpstan-ignore return.type return $args; } }