mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/13450] Type-hint return value of $phpbb_container->get()
PHPBB3-13450
This commit is contained in:
@@ -27,7 +27,10 @@ $user->session_begin();
|
||||
$auth->acl($user->data);
|
||||
$user->setup('app');
|
||||
|
||||
/* @var $http_kernel \Symfony\Component\HttpKernel\HttpKernel */
|
||||
$http_kernel = $phpbb_container->get('http_kernel');
|
||||
|
||||
/* @var $symfony_request \phpbb\symfony_request */
|
||||
$symfony_request = $phpbb_container->get('symfony_request');
|
||||
$response = $http_kernel->handle($symfony_request);
|
||||
$response->send();
|
||||
|
Reference in New Issue
Block a user