Skip to content

Commit 7f1000d

Browse files
committed
make dane and styleci happy
1 parent 7f0608d commit 7f1000d

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

app/Extensions/PhraseAppTranslator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class PhraseAppTranslator extends LaravelTranslator
4040
public function get($key, array $replace = [], $locale = null, $fallback = true)
4141
{
4242
$key = substr($key, strpos($key, '.') + 1);
43+
4344
return "{{__phrase_${key}__}}";
4445
}
4546
}

app/Providers/PhraseAppTranslationProvider.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
use Illuminate\Translation\TranslationServiceProvider;
2929
use Illuminate\Translation\Translator as IlluminateTranslator;
3030

31-
class PhraseAppTranslationProvider extends TranslationServiceProvider {
32-
31+
class PhraseAppTranslationProvider extends TranslationServiceProvider
32+
{
3333
/**
3434
* Register the service provider.
3535
*
@@ -58,6 +58,4 @@ public function register()
5858
return $trans;
5959
});
6060
}
61-
62-
6361
}

config/app.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@
139139
Illuminate\Redis\RedisServiceProvider::class,
140140
Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
141141
Illuminate\Session\SessionServiceProvider::class,
142-
//Illuminate\Translation\TranslationServiceProvider::class,
143142
Illuminate\Validation\ValidationServiceProvider::class,
144143
Illuminate\View\ViewServiceProvider::class,
145144
Illuminate\Notifications\NotificationServiceProvider::class,

0 commit comments

Comments
 (0)