🚑 fix(dialogs) Fix sonar warning

issue #6069
parent fb33328b
......@@ -218,7 +218,7 @@ class msg_dialog
$msg_dialogs = session::get('msg_dialogs');
$dialogInfos = [];
$dialogIds = [];
foreach ($msg_dialogs as $key => $dialog) {
foreach ($msg_dialogs as $dialog) {
$dialogInfos[] = $dialog->getDialogInfos();
$dialogIds[] = $dialog->getId();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment