Passed
Push — master ( d41ed3...7152d3 )
by Syed Abidur
04:05
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 = 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);
Please login to merge, or discard this patch.
src/Helper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,6 +11,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.