@@ -25,7 +25,7 @@ |
||
| 25 | 25 | return Fragment::query() |
| 26 | 26 | ->where('name', 'LIKE', "{$group}.%") |
| 27 | 27 | ->get() |
| 28 | - ->map(function (Fragment $fragment) use ($locale, $group) { |
|
| 28 | + ->map(function(Fragment $fragment) use ($locale, $group) { |
|
| 29 | 29 | return [ |
| 30 | 30 | 'key' => str_replace("{$group}.", '', $fragment->name), |
| 31 | 31 | 'text' => $fragment->translate($locale)->text, |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | { |
| 15 | 15 | $this->registerLoader(); |
| 16 | 16 | |
| 17 | - $this->app->singleton('translator', function ($app) { |
|
| 17 | + $this->app->singleton('translator', function($app) { |
|
| 18 | 18 | $loader = $app['translation.loader']; |
| 19 | 19 | |
| 20 | 20 | $locale = $app['config']['app.locale']; |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | |
| 30 | 30 | protected function registerLoader() |
| 31 | 31 | { |
| 32 | - $this->app->singleton('translation.loader', function ($app) { |
|
| 32 | + $this->app->singleton('translation.loader', function($app) { |
|
| 33 | 33 | return new TranslationLoader($app['files'], $app['path.lang']); |
| 34 | 34 | }); |
| 35 | 35 | } |