Apply fixes from StyleCI

This commit is contained in:
Alexander Skvortsov 2021-03-13 22:00:39 +00:00 committed by StyleCI Bot
parent ee48c97a23
commit 932c31db6d
2 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,12 @@
<?php
/*
* This file is part of Flarum.
*
* For detailed copyright and license information, please view the
* LICENSE file that was distributed with this source code.
*/
namespace Flarum\Tags\Filter;
use Flarum\Filter\FilterState;

View File

@ -31,7 +31,8 @@ class TagFilterGambit extends AbstractRegexGambit implements FilterInterface
$this->tags = $tags;
}
protected function getGambitPattern() {
protected function getGambitPattern()
{
return 'tag:(.+)';
}