1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +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

@@ -133,6 +133,8 @@ class ucp_activate
$messenger = $phpbb_container->get('messenger.method_collection');
$messenger_collection_iterator = $messenger->getIterator();
/** @var \phpbb\messenger\method\base $messenger_method */
foreach ($messenger_collection_iterator as $messenger_method)
{
if ($messenger_method->get_id() == $user_row['user_notify_type'] || $user_row['user_notify_type'] == $messenger_method::NOTIFY_BOTH)