From d2b29e2225e3106397678e2da0c5e4c19c2636d8 Mon Sep 17 00:00:00 2001 From: Leonid Nikitin Date: Tue, 1 Aug 2023 23:43:03 +0600 Subject: [PATCH] The refactoring added final readonly to App\Services\Role\BuilderCommand. --- app/Services/Role/BuilderCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Role/BuilderCommand.php b/app/Services/Role/BuilderCommand.php index d37d323..6e52cb7 100644 --- a/app/Services/Role/BuilderCommand.php +++ b/app/Services/Role/BuilderCommand.php @@ -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 {