3 Commits

Author SHA1 Message Date
comes
a4e7450cfd PHP Linting (Pint) 2023-10-30 18:23:28 +00:00
Jeremias Wolff
6f66e00145 Update pint.yml 2023-10-30 19:23:07 +01:00
Jeremias Wolff
8a15050614 Merge pull request #9 from comes/comes-patch-1
Create pint.yml
2023-10-30 19:18:16 +01:00
2 changed files with 3 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ jobs:
with: with:
fetch-depth: 2 fetch-depth: 2
- name: "laravel-pint" - name: "laravel-pint"
uses: aglipanci/laravel-pint-action@0.1.0 uses: aglipanci/laravel-pint-action@2.3.0
with: with:
preset: laravel preset: laravel

View File

@@ -15,6 +15,7 @@ class EcowittExportCommand extends Command
protected $endDate; protected $endDate;
protected $ecowitt_account; protected $ecowitt_account;
protected $ecowitt_passphrase; protected $ecowitt_passphrase;
/** /**
@@ -224,8 +225,6 @@ class EcowittExportCommand extends Command
/** /**
* fetch all available device IDs * fetch all available device IDs
* @param $session_id
* @return \Illuminate\Support\Collection
*/ */
protected function getDeviceIds($session_id): \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 * 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) protected function export(string $fileName, array $data)
{ {
@@ -264,7 +261,6 @@ class EcowittExportCommand extends Command
} }
/** /**
* @param string $msg
* @param mixed ...$args * @param mixed ...$args
*/ */
protected function debug(string $msg, ...$args) protected function debug(string $msg, ...$args)