@@ -16,7 +16,7 @@ |
||
16 | 16 | */ |
17 | 17 | public function up() |
18 | 18 | { |
19 | - Schema::create(config('database.translations.table'), function (Blueprint $table) { |
|
19 | + Schema::create(config('database.translations.table'), function(Blueprint $table) { |
|
20 | 20 | $table->increments('id'); |
21 | 21 | $table->string('namespace')->nullable(); |
22 | 22 | $table->string('group')->nullable(); |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | |
48 | 48 | $this->registerLoader(); |
49 | 49 | |
50 | - $this->app->singleton('translator', function ($app) { |
|
50 | + $this->app->singleton('translator', function($app) { |
|
51 | 51 | $loader = $app['translation.loader']; |
52 | 52 | |
53 | 53 | // When registering the translator component, we'll need to set the default |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | */ |
71 | 71 | protected function registerLoader() |
72 | 72 | { |
73 | - $this->app->singleton('translation.loader', function ($app) { |
|
73 | + $this->app->singleton('translation.loader', function($app) { |
|
74 | 74 | return new DatabaseLoader( |
75 | 75 | $app['files'], |
76 | 76 | $app['path.lang'], |
@@ -96,7 +96,7 @@ |
||
96 | 96 | |
97 | 97 | $cacheKey = "translations.{$locale}.{$namespace}.{$group}"; |
98 | 98 | |
99 | - $translations = $this->cache->remember($cacheKey, 1440, function () use ($locale, $namespace, $group) { |
|
99 | + $translations = $this->cache->remember($cacheKey, 1440, function() use ($locale, $namespace, $group) { |
|
100 | 100 | return $this->loadCombinedTranslations($locale, $group, $namespace); |
101 | 101 | }); |
102 | 102 |