mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 04:33:47 +08:00
Apply fixes from StyleCI
This commit is contained in:
parent
6eb2c9e574
commit
c01dc63c5d
|
@ -17,8 +17,8 @@ use Flarum\Suspend\Event\Unsuspended;
|
|||
use Flarum\Suspend\Listener;
|
||||
use Flarum\Suspend\Notification\UserSuspendedBlueprint;
|
||||
use Flarum\Suspend\Notification\UserUnsuspendedBlueprint;
|
||||
use Flarum\Suspend\RevokeAccessFromSuspendedUsers;
|
||||
use Flarum\Suspend\Query\SuspendedFilterGambit;
|
||||
use Flarum\Suspend\RevokeAccessFromSuspendedUsers;
|
||||
use Flarum\User\Event\Saving;
|
||||
use Flarum\User\Filter\UserFilterer;
|
||||
use Flarum\User\Search\UserSearcher;
|
||||
|
|
|
@ -33,7 +33,8 @@ class SuspendedFilterGambit extends AbstractRegexGambit implements FilterInterfa
|
|||
$this->users = $users;
|
||||
}
|
||||
|
||||
protected function getGambitPattern() {
|
||||
protected function getGambitPattern()
|
||||
{
|
||||
return 'is:suspended';
|
||||
}
|
||||
|
||||
|
@ -57,7 +58,8 @@ class SuspendedFilterGambit extends AbstractRegexGambit implements FilterInterfa
|
|||
$this->constrain($search->getQuery(), $negate);
|
||||
}
|
||||
|
||||
public function getFilterKey(): string {
|
||||
public function getFilterKey(): string
|
||||
{
|
||||
return 'suspended';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user