@@ -11,7 +11,7 @@ |
||
| 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); |
@@ -42,7 +42,7 @@ |
||
| 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 | }); |