Fixing style errors.

This commit is contained in:
stickler-ci 2023-03-01 10:04:30 +00:00
parent d1b5fc6bc1
commit 1bd49ca07a

View File

@ -3055,7 +3055,7 @@ class Ticket extends CommonObject
$non_closed_contacts[] = $db->fetch_row($resql); $non_closed_contacts[] = $db->fetch_row($resql);
} }
} }
$to = array_filter($to, function($v, $k) use($non_closed_contacts, $langs) { $to = array_filter($to, function ($v, $k) use ($non_closed_contacts, $langs) {
foreach ($non_closed_contacts as $non_closed_contact) { foreach ($non_closed_contacts as $non_closed_contact) {
if ($k == $non_closed_contact[0]) if ($k == $non_closed_contact[0])
return true; return true;