Merge pull request #3 from flarum/analysis-8bQjba

Applied fixes from StyleCI
This commit is contained in:
Toby Zerner 2016-02-26 14:24:05 +10:30
commit f26b1a56da
4 changed files with 5 additions and 5 deletions

View File

@ -18,4 +18,4 @@ return function (Dispatcher $events) {
$events->subscribe(Listener\ApproveContent::class);
$events->subscribe(Listener\HideUnapprovedContent::class);
$events->subscribe(Listener\UnapproveNewContent::class);
};
};

View File

@ -38,7 +38,7 @@ class AddClientAssets
if ($event->isAdmin()) {
$event->addAssets([
__DIR__ . '/../../js/admin/dist/extension.js'
__DIR__.'/../../js/admin/dist/extension.js'
]);
$event->addBootstrapper('flarum/approval/main');
}

View File

@ -10,9 +10,9 @@
namespace Flarum\Approval\Listener;
use Flarum\Event\PrepareApiAttributes;
use Flarum\Api\Serializer\DiscussionSerializer;
use Flarum\Api\Serializer\PostSerializer;
use Flarum\Event\PrepareApiAttributes;
use Illuminate\Contracts\Events\Dispatcher;
class AddPostApprovalAttributes

View File

@ -10,10 +10,10 @@
namespace Flarum\Approval\Listener;
use Flarum\Core\Discussion;
use Flarum\Event\ScopeHiddenDiscussionVisibility;
use Flarum\Event\ScopeModelVisibility;
use Flarum\Event\ScopePostVisibility;
use Flarum\Event\ScopeHiddenDiscussionVisibility;
use Flarum\Core\Discussion;
use Illuminate\Contracts\Events\Dispatcher;
class HideUnapprovedContent