@@ -11,7 +11,7 @@ |
||
| 11 | 11 | { |
| 12 | 12 | $config = Helper::getConfig(); |
| 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); |
@@ -11,6 +11,6 @@ |
||
| 11 | 11 | { |
| 12 | 12 | $config = version_compare(Application::VERSION, '5.0', '<') ? 'laravel-http-request-api-log::config' : 'http-request-api-log'; |
| 13 | 13 | |
| 14 | - return Config::get($config . ($configName ? '.'.$configName : ''), $default); |
|
| 14 | + return Config::get($config.($configName ? '.'.$configName : ''), $default); |
|
| 15 | 15 | } |
| 16 | 16 | } |