Skip to content

Commit

Permalink
Merge pull request #3 from android-com-pl/analysis-QMAy4O
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
rafaucau committed Jan 20, 2022
2 parents e53d0fb + 4908e94 commit 0e2e0dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
use Flarum\Extend;

return [
(new Extend\Frontend('forum'))->js(__DIR__ . '/js/dist/forum.js')->css(__DIR__ . '/less/forum.less'),
(new Extend\Frontend('admin'))->js(__DIR__ . '/js/dist/admin.js'),
(new Extend\Frontend('forum'))->js(__DIR__.'/js/dist/forum.js')->css(__DIR__.'/less/forum.less'),
(new Extend\Frontend('admin'))->js(__DIR__.'/js/dist/admin.js'),

new Extend\Locales(__DIR__ . '/locale'),
new Extend\Locales(__DIR__.'/locale'),

(new Extend\ApiController(ShowForumController::class))->prepareDataForSerialization(LoadForumTagsRelationship::class),

(new Extend\Settings())->serializeToForum('my-tags.enable-placeholder', 'acpl-my-tags.enable-placeholder', function ($value) {
return !empty($value) && $value;
return ! empty($value) && $value;
}),
];
2 changes: 1 addition & 1 deletion src/LoadForumTagsRelationship.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class LoadForumTagsRelationship
{
/**
* Load tags that a user is following
* Load tags that a user is following.
* @param ShowForumController $controller
* @param $data
* @param ServerRequestInterface $request
Expand Down

0 comments on commit 0e2e0dc

Please sign in to comment.