From 643bab44ea1a20ebc44e761f95a6e073effcae3d Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sat, 15 May 2021 22:23:42 +0200 Subject: [PATCH] [ticket/13713] Make sure service collection is accepted by controller PHPBB3-13713 --- phpBB/phpbb/mention/controller/mention.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/phpbb/mention/controller/mention.php b/phpBB/phpbb/mention/controller/mention.php index 10e21f5cfc..37a5cfd323 100644 --- a/phpBB/phpbb/mention/controller/mention.php +++ b/phpBB/phpbb/mention/controller/mention.php @@ -35,12 +35,12 @@ class mention /** * Constructor * - * @param array $mention_sources + * @param service_collection|array $mention_sources * @param request_interface $request * @param string $phpbb_root_path * @param string $phpEx */ - public function __construct(array $mention_sources, request_interface $request, string $phpbb_root_path, string $phpEx) + public function __construct($mention_sources, request_interface $request, string $phpbb_root_path, string $phpEx) { $this->mention_sources = $mention_sources; $this->request = $request;