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:
@@ -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');
|
||||
|
||||
|
Reference in New Issue
Block a user