@@ -59,7 +59,7 @@ |
||
| 59 | 59 | call_user_func_array( |
| 60 | 60 | ' array_merge', |
| 61 | 61 | array_map( |
| 62 | - function ($u) { |
|
| 62 | + function($u) { |
|
| 63 | 63 | return array_keys($u->translation); |
| 64 | 64 | }, |
| 65 | 65 | self::get()->all() |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | if ($line) { |
| 39 | 39 | foreach ($this->terms()->get() as $term) { |
| 40 | 40 | $keywords = ["localize('{$term->term}')", 'localize("' . $term->term . '")']; |
| 41 | - $matched = array_filter(array_map(function ($u) use ($line) { |
|
| 41 | + $matched = array_filter(array_map(function($u) use ($line) { |
|
| 42 | 42 | return strpos($line, $u); |
| 43 | 43 | }, $keywords), 'strlen'); |
| 44 | 44 | if (empty($matched)) { |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | if (!Schema::connection($connection)->hasTable(config('queue.failed.table'))) { |
| 19 | 19 | Schema::connection($connection)->create( |
| 20 | 20 | config('queue.failed.table'), |
| 21 | - function (Blueprint $table) { |
|
| 21 | + function(Blueprint $table) { |
|
| 22 | 22 | $table->bigIncrements('id'); |
| 23 | 23 | $table->text('connection'); |
| 24 | 24 | $table->text('queue'); |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | if (!Schema::connection($connection)->hasTable(config('queue.connections.database.table'))) { |
| 33 | 33 | Schema::connection($connection)->create( |
| 34 | 34 | config('queue.connections.database.table'), |
| 35 | - function (Blueprint $table) { |
|
| 35 | + function(Blueprint $table) { |
|
| 36 | 36 | $table->bigIncrements('id'); |
| 37 | 37 | $table->string('queue')->index(); |
| 38 | 38 | $table->longText('payload'); |