@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | * Bootstrap any application services. |
24 | 24 | */ |
25 | 25 | public function boot() { |
26 | - Blade::directive('translate', function ($expression) { |
|
26 | + Blade::directive('translate', function($expression) { |
|
27 | 27 | |
28 | 28 | $expression = $this->stripParentheses($expression); |
29 | 29 | |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | } |
33 | 33 | ); |
34 | 34 | |
35 | - Blade::directive('t', function ($expression) { |
|
35 | + Blade::directive('t', function($expression) { |
|
36 | 36 | |
37 | 37 | $expression = $this->stripParentheses($expression); |
38 | 38 |
@@ -164,7 +164,7 @@ |
||
164 | 164 | * @param $state string 'enabled|disabled' |
165 | 165 | * @return \Illuminate\Http\RedirectResponse |
166 | 166 | */ |
167 | - public function changeLiveMode ($state) { |
|
167 | + public function changeLiveMode($state) { |
|
168 | 168 | if ($state == 'enable') { |
169 | 169 | session(['translation_live_mode' => true]); |
170 | 170 | } else { |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | DB::beginTransaction(); |
26 | 26 | |
27 | 27 | // Create table for storing roles |
28 | - Schema::create('translation_identifiers', function (Blueprint $table) { |
|
28 | + Schema::create('translation_identifiers', function(Blueprint $table) { |
|
29 | 29 | $table->increments('id')->unique(); |
30 | 30 | $table->text('identifier'); |
31 | 31 | |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | }); |
40 | 40 | |
41 | 41 | // Create table for storing roles |
42 | - Schema::create('translations', function (Blueprint $table) { |
|
42 | + Schema::create('translations', function(Blueprint $table) { |
|
43 | 43 | $table->integer('translation_identifier_id')->unsigned(); |
44 | 44 | $table->foreign('translation_identifier_id')->references('id')->on('translation_identifiers')->onDelete('no action')->onUpdate('no action'); |
45 | 45 |
@@ -182,7 +182,7 @@ |
||
182 | 182 | |
183 | 183 | $keys = []; |
184 | 184 | if (is_array($parameters)) { |
185 | - foreach($parameters as $key => $value) { |
|
185 | + foreach ($parameters as $key => $value) { |
|
186 | 186 | $keys[] = $key; |
187 | 187 | } |
188 | 188 | } |