Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to authored and github-actions[bot] committed Sep 19, 2023
1 parent 4bb9db9 commit 6a9b01c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Applies/Filters/TextModelApply.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
namespace MoonShine\Applies\Filters;

use Closure;
use Illuminate\Contracts\Database\Eloquent\Builder;
use MoonShine\Contracts\ApplyContract;
use MoonShine\Fields\Field;
use Illuminate\Contracts\Database\Eloquent\Builder;

class TextModelApply implements ApplyContract
{
Expand All @@ -17,4 +17,4 @@ public function apply(Field $field): Closure
$query->where($field->column(), 'like', "%{$field->requestValue()}%");
};
}
}
}
2 changes: 1 addition & 1 deletion src/Support/Filters.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ final class Filters
PasswordRepeat::class,
StackFields::class,
];
}
}
2 changes: 1 addition & 1 deletion src/Traits/Resource/ResourceWithFields.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function getFilters(): Fields

$filters->each(function ($filter): void {
if(in_array($filter::class, Filters::NO_FILTERS)) {
throw new FilterException("You can't use ".$filter::class." inside filters.");
throw new FilterException("You can't use " . $filter::class . " inside filters.");
}
});

Expand Down

0 comments on commit 6a9b01c

Please sign in to comment.