Skip to content

Commit ea5d314

Browse files
committed
fix: incorrect return type
1 parent c4d8775 commit ea5d314

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Comment_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ static function ( $id ) use ( $exclude_list ) {
791791
/**
792792
* Gets all available comment IDs.
793793
*/
794-
private function get_all_comment_ids(): array {
794+
private function get_all_comment_ids(): array|int {
795795
$query = new WP_Comment_Query();
796796
$comments = $query->query(
797797
array(

0 commit comments

Comments
 (0)