From 6f66e00145bb3950b0f63d5920fdcdd4eab2f6fb Mon Sep 17 00:00:00 2001 From: Jeremias Wolff Date: Mon, 30 Oct 2023 19:23:07 +0100 Subject: [PATCH 1/2] Update pint.yml --- .github/workflows/pint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pint.yml b/.github/workflows/pint.yml index 35244ed..b06ab7c 100644 --- a/.github/workflows/pint.yml +++ b/.github/workflows/pint.yml @@ -12,7 +12,7 @@ jobs: with: fetch-depth: 2 - name: "laravel-pint" - uses: aglipanci/laravel-pint-action@0.1.0 + uses: aglipanci/laravel-pint-action@2.3.0 with: preset: laravel From a4e7450cfd56aa984978db766d13d414055b6d41 Mon Sep 17 00:00:00 2001 From: comes Date: Mon, 30 Oct 2023 18:23:28 +0000 Subject: [PATCH 2/2] PHP Linting (Pint) --- app/Commands/EcowittExportCommand.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/app/Commands/EcowittExportCommand.php b/app/Commands/EcowittExportCommand.php index 4c1009f..ab2bed0 100644 --- a/app/Commands/EcowittExportCommand.php +++ b/app/Commands/EcowittExportCommand.php @@ -15,6 +15,7 @@ class EcowittExportCommand extends Command protected $endDate; protected $ecowitt_account; + protected $ecowitt_passphrase; /** @@ -224,8 +225,6 @@ class EcowittExportCommand extends Command /** * fetch all available device IDs - * @param $session_id - * @return \Illuminate\Support\Collection */ protected function getDeviceIds($session_id): \Illuminate\Support\Collection { @@ -248,8 +247,6 @@ class EcowittExportCommand extends Command /** * Takes in a filename and an array associative data array and outputs a csv file - * @param string $fileName - * @param array $data */ protected function export(string $fileName, array $data) { @@ -264,8 +261,7 @@ class EcowittExportCommand extends Command } /** - * @param string $msg - * @param mixed ...$args + * @param mixed ...$args */ protected function debug(string $msg, ...$args) {