The refactoring added final readonly to App\Services\Role\BuilderCommand.

This commit is contained in:
Leonid Nikitin 2023-08-01 23:43:03 +06:00
parent 8f143c031f
commit d2b29e2225
Signed by: kor-elf
GPG Key ID: 7DE8F80C5CEC2C0D

View File

@ -6,7 +6,7 @@ use App\Dto\Builder\Role as RoleBuilderDto;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Relations\Relation;
class BuilderCommand
final readonly class BuilderCommand
{
public function execute(Relation | Builder $query, RoleBuilderDto $roleBuilderDto): Relation | Builder
{