Skip to content

Commit 6419f9b

Browse files
committed
Update PHP matrix in GitHub Actions workflow and fix parameter type in Servers model
1 parent bf109b4 commit 6419f9b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
operating-system: [ubuntu-latest]
11-
php-versions: [ '8.1', '8.2', '8.3', '8.4']
11+
php-versions: [ '8.2', '8.3', '8.4', '8.5']
1212
steps:
1313
- uses: actions/checkout@v2
1414
- name: Setup PHP

src/Models/Servers/Servers.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,9 +314,10 @@ public function setAdditionalData($input)
314314

315315
/**
316316
* @param $input
317+
* @param \LKDev\HetznerCloud\Clients\GuzzleClient|null $httpClient
317318
* @return static
318319
*/
319-
public static function parse($input, ?GuzzleClient $httpClient = null)
320+
public static function parse($input, ?\LKDev\HetznerCloud\Clients\GuzzleClient $httpClient = null)
320321
{
321322
return (new self($httpClient))->setAdditionalData($input);
322323
}

0 commit comments

Comments
 (0)