Skip to content

Commit 50cf8fc

Browse files
authored
Fix newly reported PHPStan error (#614)
1 parent 974fd3a commit 50cf8fc

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/User_Meta_Command.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,9 +341,6 @@ protected function delete_metadata( $object_id, $meta_key, $meta_value = '' ) {
341341
private function replace_login_with_user_id( $args ) {
342342
$user = $this->fetcher->get_check( $args[0] );
343343
$args[0] = $user->ID;
344-
// TODO: Improve method type eventually.
345-
// Related: https://github.com/phpstan/phpstan/issues/8438.
346-
// @phpstan-ignore return.type
347344
return $args;
348345
}
349346
}

0 commit comments

Comments
 (0)