1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/17489] Fix queue for ucp_resend, add type hints to $messenger_method

PHPBB-17489
This commit is contained in:
rxu
2025-04-03 19:16:08 +07:00
parent 7467b567e8
commit c23504e3c7
7 changed files with 15 additions and 6 deletions

View File

@@ -227,6 +227,7 @@ class acp_email
$used_lang = $email_list[$i][0]['lang'];
$used_method = $email_list[$i][0]['method'];
/** @var \phpbb\messenger\method\base $messenger_method */
foreach ($messenger_collection_iterator as $messenger_method)
{
$notify_method = $messenger_method->get_id();
@@ -272,6 +273,7 @@ class acp_email
if ($use_queue)
{
/** @var \phpbb\messenger\method\base $messenger_method */
foreach ($messenger_collection_iterator as $messenger_method)
{
$messenger_method->save_queue();