mirror of
https://github.com/flarum/framework.git
synced 2025-04-24 21:54:04 +08:00
Apply fixes from StyleCI
This commit is contained in:
parent
668de47095
commit
63a71d58c5
@ -17,10 +17,10 @@ use Flarum\Extend;
|
||||
use Flarum\Lock\Access;
|
||||
use Flarum\Lock\Event\DiscussionWasLocked;
|
||||
use Flarum\Lock\Event\DiscussionWasUnlocked;
|
||||
use Flarum\Lock\Query\LockedFilterGambit;
|
||||
use Flarum\Lock\Listener;
|
||||
use Flarum\Lock\Notification\DiscussionLockedBlueprint;
|
||||
use Flarum\Lock\Post\DiscussionLockedPost;
|
||||
use Flarum\Lock\Query\LockedFilterGambit;
|
||||
|
||||
return [
|
||||
(new Extend\Frontend('forum'))
|
||||
|
@ -17,7 +17,8 @@ use Illuminate\Database\Query\Builder;
|
||||
|
||||
class LockedFilterGambit extends AbstractRegexGambit implements FilterInterface
|
||||
{
|
||||
protected function getGambitPattern() {
|
||||
protected function getGambitPattern()
|
||||
{
|
||||
return 'is:locked';
|
||||
}
|
||||
|
||||
@ -26,7 +27,8 @@ class LockedFilterGambit extends AbstractRegexGambit implements FilterInterface
|
||||
$this->constrain($searchState->getQuery(), $negate);
|
||||
}
|
||||
|
||||
public function getFilterKey(): string {
|
||||
public function getFilterKey(): string
|
||||
{
|
||||
return 'locked';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user