clean: remove unused class (#1182)

This commit is contained in:
Kyrch
2026-04-19 11:40:55 -03:00
committed by GitHub
parent 72b24f2eb6
commit 0404625001
@@ -1,27 +0,0 @@
<?php
declare(strict_types=1);
namespace App\GraphQL\Criteria\Filter;
use App\Enums\GraphQL\Filter\TrashedFilter;
use Illuminate\Database\Eloquent\Builder;
class TrashedFilterCriteria extends FilterCriteria
{
/**
* Apply the filtering to the current Eloquent builder.
*/
public function filter(Builder $builder): Builder
{
return match ($this->value) {
/** @phpstan-ignore-next-line */
TrashedFilter::WITH => $builder->withTrashed(),
/** @phpstan-ignore-next-line */
TrashedFilter::WITHOUT => $builder->withoutTrashed(),
/** @phpstan-ignore-next-line */
TrashedFilter::ONLY => $builder->onlyTrashed(),
default => $builder,
};
}
}