Skip to content

Commit

Permalink
fix(sql): fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
Jazz-Man committed Sep 28, 2024
1 parent f93f887 commit 3fc1350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Optimization/Update.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ public static function lastCheckedCore( bool $transient = false ): bool|object {
*
* @psalm-return array<string, mixed>|object{last_checked:int, translations:array<never, never>, response:array<never, never>, checked:array<string>}
*/
public static function removePluginUpdates( array|object|null $current ): array|object {
public static function removePluginUpdates( mixed $current ): array|object {
if ( ! $current ) {
$current = [
'last_checked' => time(),
Expand Down

0 comments on commit 3fc1350

Please sign in to comment.