Skip to content

Commit d9ac30f

Browse files
committed
Cert client now returns certs rather than vips
1 parent 7f4276d commit d9ac30f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Loadbalancers/CertClient.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace UKFast\SDK\Loadbalancers;
44

55
use UKFast\SDK\Client as BaseClient;
6-
use UKFast\SDK\Loadbalancers\Entities\Vip;
6+
use UKFast\SDK\Loadbalancers\Entities\Cert;
77

88
class CertClient extends BaseClient
99
{
@@ -18,7 +18,7 @@ class CertClient extends BaseClient
1818
];
1919

2020
/**
21-
* Gets a paginated response of all Vips
21+
* Gets a paginated response of all Certs
2222
*
2323
* @param int $page
2424
* @param int $perPage
@@ -37,10 +37,10 @@ public function getPage($page = 1, $perPage = 15, $filters = [])
3737
}
3838

3939
/**
40-
* @return \UKFast\SDK\Loadbalancers\Entities\Vip
40+
* @return \UKFast\SDK\Loadbalancers\Entities\Cert
4141
*/
4242
public function serializeCert($raw)
4343
{
44-
return new Vip($this->apiToFriendly($raw, self::MAP));
44+
return new Cert($this->apiToFriendly($raw, self::MAP));
4545
}
4646
}

0 commit comments

Comments
 (0)