minor
This commit is contained in:
parent
779e68b731
commit
3ea81cdba5
@ -26,7 +26,9 @@ private static function matchList(string $input, string $pattern): bool
|
||||
{
|
||||
$patterns = collect(explode(',', $pattern))
|
||||
->map(fn ($s) => trim($s))
|
||||
->filter(fn ($s) => filled($s));
|
||||
->filter(fn ($s) => filled($s))
|
||||
->toArray();
|
||||
|
||||
foreach ($patterns as $search) {
|
||||
if (self::match($input, $search, MatchMode::Exact)) {
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user