Skip to content

Commit c8630b8

Browse files
committed
Fix psalm.
1 parent 83bc8d8 commit c8630b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ function processButtons() {
212212

213213
if (isset($_POST["button_add_all"]) || isset($_POST["button_consume_all"])) {
214214
$isConsume = isset($_POST["button_consume_all"]);
215-
$selectValues = array_filter($_POST, function($value, $key) {
215+
$selectValues = array_filter($_POST, function(int $value, string $key) {
216216
return strpos($key, 'select_') !== false && $value !== 0;
217217
}, ARRAY_FILTER_USE_BOTH);
218218

0 commit comments

Comments
 (0)