@@ -33,7 +33,7 @@ |
||
| 33 | 33 | */ |
| 34 | 34 | public static function check(Request $request): bool |
| 35 | 35 | { |
| 36 | - return (static::$using ?: function () { |
|
| 36 | + return (static::$using ?: function() { |
|
| 37 | 37 | return app()->environment('local'); |
| 38 | 38 | })($request); |
| 39 | 39 | } |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | $query = Url::query()->whereKey($url); |
| 25 | 25 | |
| 26 | 26 | $query->with([ |
| 27 | - 'requests' => function (Relation $relation) { |
|
| 27 | + 'requests' => function(Relation $relation) { |
|
| 28 | 28 | $relation->latest('id'); |
| 29 | 29 | }, |
| 30 | 30 | 'requests.summary', |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | $query->with([ |
| 27 | 27 | 'url', |
| 28 | 28 | 'summary', |
| 29 | - 'statementSummaries' => function (Relation $relation) { |
|
| 29 | + 'statementSummaries' => function(Relation $relation) { |
|
| 30 | 30 | $relation->latest('id'); |
| 31 | 31 | }, |
| 32 | 32 | 'statementSummaries.statement', |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | */ |
| 26 | 26 | public function up(): void |
| 27 | 27 | { |
| 28 | - Schema::create('sense_statements', function (Blueprint $table) { |
|
| 28 | + Schema::create('sense_statements', function(Blueprint $table) { |
|
| 29 | 29 | $table->bigIncrements('id'); |
| 30 | 30 | $table->mediumText('value'); |
| 31 | 31 | $table->timestamps(); |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | */ |
| 26 | 26 | public function up(): void |
| 27 | 27 | { |
| 28 | - Schema::create('sense_urls', function (Blueprint $table) { |
|
| 28 | + Schema::create('sense_urls', function(Blueprint $table) { |
|
| 29 | 29 | $table->bigIncrements('id'); |
| 30 | 30 | $table->mediumText('address'); |
| 31 | 31 | $table->timestamps(); |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | public function up(): void |
| 26 | 26 | { |
| 27 | - Schema::create('sense_statement_summaries', function (Blueprint $table) { |
|
| 27 | + Schema::create('sense_statement_summaries', function(Blueprint $table) { |
|
| 28 | 28 | $table->bigIncrements('id'); |
| 29 | 29 | $table->unsignedBigInteger('request_id'); |
| 30 | 30 | $table->unsignedBigInteger('statement_id'); |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | public function up(): void |
| 26 | 26 | { |
| 27 | - Schema::create('sense_request_summaries', function (Blueprint $table) { |
|
| 27 | + Schema::create('sense_request_summaries', function(Blueprint $table) { |
|
| 28 | 28 | $table->bigIncrements('id'); |
| 29 | 29 | $table->unsignedBigInteger('request_id'); |
| 30 | 30 | $table->unsignedInteger('queries_count')->default('0'); |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | public function up(): void |
| 26 | 26 | { |
| 27 | - Schema::create('sense_requests', function (Blueprint $table) { |
|
| 27 | + Schema::create('sense_requests', function(Blueprint $table) { |
|
| 28 | 28 | $table->bigIncrements('id'); |
| 29 | 29 | $table->uuid('correlation_id'); |
| 30 | 30 | $table->unsignedBigInteger('url_id'); |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | public function up(): void |
| 26 | 26 | { |
| 27 | - Schema::create('sense_request_db_queries', function (Blueprint $table) { |
|
| 27 | + Schema::create('sense_request_db_queries', function(Blueprint $table) { |
|
| 28 | 28 | $table->bigIncrements('id'); |
| 29 | 29 | $table->unsignedBigInteger('request_id'); |
| 30 | 30 | $table->unsignedBigInteger('statement_id'); |