Skip to content

Commit

Permalink
set internal Translator to private and readonly
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Müller <[email protected]>
  • Loading branch information
mimmi20 committed May 21, 2024
1 parent 25f1c5f commit b516a5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Translator/Translator.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ final class Translator implements
I18nTranslatorInterface,
ValidatorTranslatorInterface
{
public function __construct(protected I18nTranslatorInterface $translator)
public function __construct(private readonly I18nTranslatorInterface $translator)
{
}

Expand Down

0 comments on commit b516a5b

Please sign in to comment.