Skip to content

Commit 729570b

Browse files
committed
Fix typ error
1 parent 99d9de2 commit 729570b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Models/Servers/Servers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function get(int $serverId): Server
7171
* @return \LKDev\HetznerCloud\Models\Servers\Server|null
7272
* @throws \LKDev\HetznerCloud\APIException
7373
*/
74-
public function getByName(string $serverName): Server
74+
public function getByName(string $serverName)
7575
{
7676
$servers = $this->all(new ServerRequestOpts($serverName));
7777

src/Models/Volumes/Volumes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function all(RequestOpts $requestOpts = null): array
5555
* @return \LKDev\HetznerCloud\Models\Volumes\Volume|null
5656
* @throws \LKDev\HetznerCloud\APIException
5757
*/
58-
public function getByName(string $volumeName): Server
58+
public function getByName(string $volumeName)
5959
{
6060
$volumes = $this->all(new VolumeRequestOpts($volumeName));
6161

0 commit comments

Comments
 (0)