Skip to content

Commit

Permalink
fix psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
svfcode committed Dec 23, 2024
1 parent 0f06029 commit 9000007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CleantalkSP/SpbctWP/RemoteCalls.php
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ public static function action__debug() // phpcs:ignore PSR1.Methods.CamelCapsMet
$logs[date('Y-m-d H:i:s', $record['timestamp'])] = ': ' . $record['content'];
}
}
if ( $logs && is_array($logs) ) {
if ($logs) {
$out['last_scan_log'] = array_reverse($logs);
}
$out['cron'] = $spbc->cron;
Expand Down

0 comments on commit 9000007

Please sign in to comment.