Completed
Push — master ( c2287e...1fb91c )
by Anton
25s
created
src/Authentication/Services/Authenticator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Http/Controllers/Urls/Get/Action.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
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',
Please login to merge, or discard this patch.
src/Http/Controllers/Requests/Get/Action.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
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',
Please login to merge, or discard this patch.
src/Providers/SenseServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
             'prefix' => config('sense.uri', 'sense'),
64 64
             'namespace' => 'Cog\Laravel\Sense\Http\Controllers',
65 65
             'middleware' => config('sense.middleware', 'web'),
66
-        ], function () {
66
+        ], function() {
67 67
             $this->loadRoutesFrom(__DIR__ . '/../../routes/web.php');
68 68
         });
69 69
     }
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
         ]);
133 133
         $request->summary()->create();
134 134
 
135
-        DB::listen(function (QueryExecuted $query) use ($request) {
135
+        DB::listen(function(QueryExecuted $query) use ($request) {
136 136
             if ($this->isQueryShouldBeStored($query)) {
137 137
                 $this->storeStatement($request, $query);
138 138
                 $this->updateRequestSummary($request->getAttribute('summary'), $query);
Please login to merge, or discard this patch.
database/migrations/2018_09_24_003000_create_sense_statements_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
database/migrations/2018_09_24_000000_create_sense_urls_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
migrations/2018_09_24_004000_create_sense_statement_summaries_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
migrations/2018_09_24_002000_create_sense_request_summaries_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
database/migrations/2018_09_24_001000_create_sense_requests_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.