@@ -36,7 +36,7 @@ |
||
36 | 36 | { |
37 | 37 | if (empty($this->term)) { |
38 | 38 | sweep(); |
39 | - array_map(function ($u) { |
|
39 | + array_map(function($u) { |
|
40 | 40 | self::dispatch($u, $this->locales)->onQueue('translation'); |
41 | 41 | }, VocabTerm::get()->all()); |
42 | 42 | } else { |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | public function up() |
20 | 20 | { |
21 | 21 | $connection = config('trans-helper.database.connection') ?: config('database.default'); |
22 | - Schema::connection($connection)->create(config('trans-helper.database.table.cite'), function (Blueprint $table) { |
|
22 | + Schema::connection($connection)->create(config('trans-helper.database.table.cite'), function(Blueprint $table) { |
|
23 | 23 | $table->bigIncrements('id'); |
24 | 24 | $table->string('file', 256)->default(''); |
25 | 25 | $table->unsignedBigInteger('line'); |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | |
39 | 39 | Schema::connection($connection)->create( |
40 | 40 | config('trans-helper.database.table.term'), |
41 | - function (Blueprint $table) { |
|
41 | + function(Blueprint $table) { |
|
42 | 42 | $table->bigIncrements('id'); |
43 | 43 | $table->string('namespace', 256)->default(''); |
44 | 44 | $table->string('term', 256)->default(''); |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | |
56 | 56 | Schema::connection($connection)->create( |
57 | 57 | config('trans-helper.database.table.link'), |
58 | - function (Blueprint $table) { |
|
58 | + function(Blueprint $table) { |
|
59 | 59 | $table->unsignedBigInteger('cited'); |
60 | 60 | $table->unsignedBigInteger('vocab'); |
61 | 61 |