1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/17176] Update implementations to be compatible with Symfony 6.3

PHPBB3-17176
This commit is contained in:
Marc Alexander
2023-08-19 13:04:25 +02:00
parent 08160b3bc3
commit cef8aaf1a4
16 changed files with 40 additions and 34 deletions

View File

@@ -65,10 +65,10 @@ class resolver implements ControllerResolverInterface
* Load a controller callable
*
* @param Request $request Symfony Request object
* @return false|Callable Callable or false (fixme: method is returning an array)
* @return callable|false Callable or false
* @throws \phpbb\controller\exception
*/
public function getController(Request $request)
public function getController(Request $request): callable|false
{
$controller = $request->attributes->get('_controller');