Skip to content

Commit 53437d9

Browse files
authored
PHP 8 compatibility fixes: Use the nullable int type.
1 parent 325121a commit 53437d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/event/event-repository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ private function execute_events_query(
509509
int $page_size,
510510
array $args,
511511
array $filter_by_ids = array(),
512-
int $user_id = null,
512+
?int $user_id = null,
513513
bool $include_created_by_user = false
514514
): Events_Query_Result {
515515
$this->assert_pagination_arguments( $page, $page_size );

0 commit comments

Comments
 (0)