From 05f5ad523c0da1da40aed3013e236c06688cbe61 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sun, 20 Mar 2022 13:55:22 +0000 Subject: [PATCH] =?UTF-8?q?Update=20code-style=20=F0=9F=92=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...022_03_20_005417_create_http_logs_table.php | 2 +- src/Services/Logger.php | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/database/migrations/2022_03_20_005417_create_http_logs_table.php b/database/migrations/2022_03_20_005417_create_http_logs_table.php index d73ca12..e20d28b 100644 --- a/database/migrations/2022_03_20_005417_create_http_logs_table.php +++ b/database/migrations/2022_03_20_005417_create_http_logs_table.php @@ -8,7 +8,7 @@ use Illuminate\Database\Schema\Builder; use Illuminate\Support\Facades\Schema; -return new class extends Migration { +return new class () extends Migration { use HasTable; public function up() diff --git a/src/Services/Logger.php b/src/Services/Logger.php index 2242f04..6e6abcf 100644 --- a/src/Services/Logger.php +++ b/src/Services/Logger.php @@ -26,16 +26,16 @@ public static function save(Request $request): void } protected static function store( - ?string $name, - string $method, - string $scheme, - string $host, - int|string|null $port, - string $path, + ?string $name, + string $method, + string $scheme, + string $host, + int|string|null $port, + string $path, array|string|null $query, - array $payload, - array $headers, - ?string $ip + array $payload, + array $headers, + ?string $ip ): void { HttpLog::create(compact( 'name',