mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 04:33:47 +08:00
Add missing parameter
This commit is contained in:
parent
b3e1a023c2
commit
b9918e6c40
|
@ -14,6 +14,7 @@ use Flarum\Admin\Controller\WebAppController as AdminWebAppController;
|
|||
use Flarum\Forum\Controller\WebAppController as ForumWebAppController;
|
||||
use Flarum\Http\Controller\AbstractWebAppController;
|
||||
use Flarum\Http\WebApp\WebAppView;
|
||||
use Psr\Http\Message\ServerRequestInterface;
|
||||
|
||||
class ConfigureWebApp
|
||||
{
|
||||
|
@ -27,14 +28,21 @@ class ConfigureWebApp
|
|||
*/
|
||||
public $view;
|
||||
|
||||
/**
|
||||
* @var ServerRequestInterface
|
||||
*/
|
||||
public $request;
|
||||
|
||||
/**
|
||||
* @param AbstractWebAppController $controller
|
||||
* @param WebAppView $view
|
||||
* @param ServerRequestInterface $request
|
||||
*/
|
||||
public function __construct(AbstractWebAppController $controller, WebAppView $view)
|
||||
public function __construct(AbstractWebAppController $controller, WebAppView $view, ServerRequestInterface $request)
|
||||
{
|
||||
$this->controller = $controller;
|
||||
$this->view = $view;
|
||||
$this->request = $request;
|
||||
}
|
||||
|
||||
public function isForum()
|
||||
|
|
Loading…
Reference in New Issue
Block a user