Fix class names

This commit is contained in:
Franz Liedke 2017-10-03 19:22:11 +02:00
parent d62e31f42e
commit 7518578a13

View File

@ -12,7 +12,8 @@ namespace Flarum\Embed;
use Flarum\Api\Client;
use Flarum\Forum\Controller\DiscussionController;
use Flarum\Forum\UrlGenerator;
use Flarum\Forum\Frontend;
use Flarum\Http\UrlGenerator;
use Illuminate\Contracts\Events\Dispatcher;
class EmbeddedDiscussionController extends DiscussionController
@ -20,8 +21,8 @@ class EmbeddedDiscussionController extends DiscussionController
/**
* {@inheritdoc}
*/
public function __construct(EmbedWebApp $webApp, Dispatcher $events, Client $api, UrlGenerator $url)
public function __construct(Frontend $frontend, Dispatcher $events, Client $api, UrlGenerator $url)
{
parent::__construct($webApp, $events, $api, $url);
parent::__construct($frontend, $events, $api, $url);
}
}