Mark DocumentationCategoryContentService as readonly.
This commit is contained in:
parent
4dc6060fb3
commit
d8d17064d0
@ -13,7 +13,7 @@ use App\Services\ProjectTranslationServiceHash\CompletionChecker;
|
|||||||
use Illuminate\Support\Facades\DB;
|
use Illuminate\Support\Facades\DB;
|
||||||
use KorElf\TranslateLaravel\Contracts\TranslationCompletedListener;
|
use KorElf\TranslateLaravel\Contracts\TranslationCompletedListener;
|
||||||
|
|
||||||
final class DocumentationCategoryContentService implements TranslationCompletedListener
|
final readonly class DocumentationCategoryContentService implements TranslationCompletedListener
|
||||||
{
|
{
|
||||||
public function __construct(
|
public function __construct(
|
||||||
private DocumentationCategoryRepository $categoryRepository,
|
private DocumentationCategoryRepository $categoryRepository,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user