Applied fixes from StyleCI

This commit is contained in:
Toby Zerner 2016-02-25 22:54:28 -05:00 committed by StyleCI Bot
parent d3018a1fc3
commit 869277cb10
3 changed files with 7 additions and 5 deletions

View File

@ -15,4 +15,4 @@ use Illuminate\Contracts\Events\Dispatcher;
return function (Dispatcher $events) {
$events->subscribe(Listener\AddClientAssets::class);
$events->subscribe(Listener\FormatEmoticons::class);
};
};

View File

@ -1,4 +1,5 @@
<?php
<?php
/*
* This file is part of Flarum.
*

View File

@ -1,4 +1,5 @@
<?php
<?php
/*
* This file is part of Flarum.
*
@ -30,8 +31,8 @@ class AddClientAssets
{
if ($event->isForum()) {
$event->addAssets([
__DIR__ . '/../../js/forum/dist/extension.js',
__DIR__ . '/../../less/forum/extension.less'
__DIR__.'/../../js/forum/dist/extension.js',
__DIR__.'/../../less/forum/extension.less'
]);
$event->addBootstrapper('flarum/emoji/main');
}