Skip to content

Commit c8ea008

Browse files
committed
Merge branch 'master' of github.com:Novasa/laravel-language-center
2 parents fd1d21b + a827b93 commit c8ea008

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Language Center for Laravel.
55
66
# Install
77

8-
Run `composer require novasa/laravel-language-center:~1.0`.
8+
Run `composer require novasa/laravel-language-center:~2.0`.
99

1010
In `config/app.php` replace `Illuminate\Translation\TranslationServiceProvider::class,` with `Novasa\LaravelLanguageCenter\TranslationServiceProvider::class,` in the `providers`-section.
1111

src/Translator.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ class Translator extends LaravelTranslator
1717
/**
1818
* Create a new translator instance.
1919
*
20-
* @param \Illuminate\Translation\FileLoader $loader
21-
* @param string $locale
20+
* @param \Illuminate\Translation\FileLoader $loader
21+
* @param string $locale
2222
*
2323
* @return void
2424
*/
@@ -96,7 +96,7 @@ public function get($data, array $replace = [], $locale = null, $fallback = true
9696
: [$locale ?: $this->locale];
9797

9898
foreach ($locales as $locale) {
99-
if (! is_null($line = $this->getLine(
99+
if (!is_null($line = $this->getLine(
100100
$namespace, $group, $locale, $item, $replace
101101
))) {
102102
break;

0 commit comments

Comments
 (0)