Skip to content

Commit 128f676

Browse files
committed
fix
1 parent a58032d commit 128f676

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Translator.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public function translateTranslations(
127127
): Translations {
128128
$service = $service ?? $this->translateService;
129129

130-
if (!$service) {
130+
if (! $service) {
131131
throw TranslatorServiceException::missingTranslateService();
132132
}
133133

@@ -146,7 +146,7 @@ function (Translations $translations) use ($referenceLocale, $targetLocale, $nam
146146
->toBase()
147147
->dot()
148148
->only($keys)
149-
->filter(fn ($value) => !blank($value))
149+
->filter(fn ($value) => ! blank($value))
150150
->toArray();
151151

152152
$translatedValues = $service->translateAll(
@@ -171,7 +171,7 @@ public function fixGrammarTranslations(
171171
): Translations {
172172
$service = $service ?? $this->grammarService;
173173

174-
if (!$service) {
174+
if (! $service) {
175175
throw TranslatorServiceException::missingGrammarService();
176176
}
177177

@@ -182,7 +182,7 @@ public function fixGrammarTranslations(
182182
->toBase()
183183
->dot()
184184
->only($keys)
185-
->filter(fn ($value) => !blank($value))
185+
->filter(fn ($value) => ! blank($value))
186186
->toArray()
187187
);
188188

0 commit comments

Comments
 (0)