Skip to content

Commit e8c6c04

Browse files
committed
PHPStan fix
1 parent d741fea commit e8c6c04

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Cron_Event_Command.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,9 @@ public function unschedule( $args, $assoc_args ) {
316316
if ( ! is_array( $cron ) ) {
317317
continue;
318318
}
319+
/**
320+
* @var array<string, array<mixed>> $cron
321+
*/
319322
if ( isset( $cron[ $hook ] ) ) {
320323
$event_count += count( $cron[ $hook ] );
321324
}

0 commit comments

Comments
 (0)