Skip to content

Commit 76624a4

Browse files
committed
Fix newly reported PHPStan errors
1 parent cd25150 commit 76624a4

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/Cron_Event_Command.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -861,9 +861,6 @@ protected static function format_callback( $callback ) {
861861
if ( is_string( $callback ) ) {
862862
return $callback;
863863
} elseif ( is_array( $callback ) && count( $callback ) === 2 ) {
864-
/**
865-
* @var array{0: string, 1: string} $callback
866-
*/
867864
$class = $callback[0];
868865
$method = $callback[1];
869866

0 commit comments

Comments
 (0)