Skip to content

Commit 99d6b6a

Browse files
committed
fix: implicitly marking parameter as nullable is deprecated
1 parent 8550d14 commit 99d6b6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/class-events-store.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ private static function row_formatting( array $row ): array {
532532
return $formatting;
533533
}
534534

535-
private static function flush_event_cache( string $event_action = null, string $event_instance = null ) {
535+
private static function flush_event_cache( ?string $event_action = null, ?string $event_instance = null ) {
536536
// Always have to flush the query caches.
537537
wp_cache_set( 'last_changed', microtime(), 'cron-control-queries' );
538538

0 commit comments

Comments
 (0)