File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments