Passed
Push — master ( 72443c...d41ed3 )
by Syed Abidur
04:46 queued 48s
created
src/migrations/2023_09_01_000000_create_api_log_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     {
12 12
         $config = Config::get('laravel-http-request-api-log::config');
13 13
 
14
-        Schema::connection($config['database_connection'])->create($config['table_name'], function (Blueprint $table) {
14
+        Schema::connection($config['database_connection'])->create($config['table_name'], function(Blueprint $table) {
15 15
             $table->bigIncrements('id');
16 16
             $table->string('client', 50)->index();
17 17
             $table->string('method', 6);
Please login to merge, or discard this patch.
src/Models/ApiLog.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     {
43 43
         parent::boot();
44 44
 
45
-        self::creating(function (self $model) {
45
+        self::creating(function(self $model) {
46 46
             $model->method = strtoupper($model->method);
47 47
             $model->params = json_encode($model->params);
48 48
         });
Please login to merge, or discard this patch.