Add missing parameter

This commit is contained in:
Toby Zerner 2016-11-07 18:22:20 +10:30
parent 7b86f412f7
commit 033e4d0ba0

View File

@ -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()