1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/17135] Refactor messenger code to services

PHPBB3-17135
This commit is contained in:
rxu
2023-06-08 21:17:01 +07:00
parent f95816cbe3
commit a7b5369138
22 changed files with 191 additions and 149 deletions

View File

@@ -108,7 +108,7 @@ class topic_form extends form
/**
* {inheritDoc}
*/
public function submit(\messenger $messenger)
public function submit(\phpbb\di\service_collection $messenger)
{
if (!$this->recipient_address || !preg_match('/^' . get_preg_expression('email') . '$/i', $this->recipient_address))
{