2323use GuzzleHttp \RequestOptions ;
2424use Symfony \Component \Serializer \Encoder \JsonEncoder ;
2525use Symfony \Component \Serializer \Exception \ExceptionInterface ;
26- use Symfony \Component \Serializer \SerializerInterface ;
26+ use Symfony \Component \Serializer \Serializer ;
2727use Hostinger \ApiException ;
2828use Hostinger \Configuration ;
2929use Hostinger \ObjectSerializer ;
@@ -34,7 +34,7 @@ class DomainsPortfolioApi
3434
3535 protected Configuration $ config ;
3636
37- protected SerializerInterface $ serializer ;
37+ protected Serializer $ serializer ;
3838
3939 public function __construct (
4040 ?Configuration $ config = null ,
@@ -57,6 +57,7 @@ public function getConfig(): Configuration
5757 *
5858 * @throws ApiException
5959 * @throws GuzzleException
60+ * @throws ExceptionInterface
6061 */
6162 public function disableDomainLockV1 (string $ domain )
6263 {
@@ -84,6 +85,7 @@ public function disableDomainLockV1(string $domain)
8485 *
8586 * @throws ApiException
8687 * @throws GuzzleException
88+ * @throws ExceptionInterface
8789 */
8890 public function disablePrivacyProtectionV1 (string $ domain )
8991 {
@@ -111,6 +113,7 @@ public function disablePrivacyProtectionV1(string $domain)
111113 *
112114 * @throws ApiException
113115 * @throws GuzzleException
116+ * @throws ExceptionInterface
114117 */
115118 public function enableDomainLockV1 (string $ domain )
116119 {
@@ -138,6 +141,7 @@ public function enableDomainLockV1(string $domain)
138141 *
139142 * @throws ApiException
140143 * @throws GuzzleException
144+ * @throws ExceptionInterface
141145 */
142146 public function enablePrivacyProtectionV1 (string $ domain )
143147 {
@@ -165,6 +169,7 @@ public function enablePrivacyProtectionV1(string $domain)
165169 *
166170 * @throws ApiException
167171 * @throws GuzzleException
172+ * @throws ExceptionInterface
168173 */
169174 public function getDomainDetailsV1 (string $ domain )
170175 {
@@ -192,6 +197,7 @@ public function getDomainDetailsV1(string $domain)
192197 *
193198 * @throws ApiException
194199 * @throws GuzzleException
200+ * @throws ExceptionInterface
195201 */
196202 public function getDomainListV1 ()
197203 {
@@ -217,6 +223,7 @@ public function getDomainListV1()
217223 *
218224 * @throws ApiException
219225 * @throws GuzzleException
226+ * @throws ExceptionInterface
220227 */
221228 public function purchaseNewDomainV1 (\Hostinger \Model \DomainsV1PortfolioPurchaseRequest $ domainsV1PortfolioPurchaseRequest )
222229 {
@@ -243,6 +250,7 @@ public function purchaseNewDomainV1(\Hostinger\Model\DomainsV1PortfolioPurchaseR
243250 *
244251 * @throws ApiException
245252 * @throws GuzzleException
253+ * @throws ExceptionInterface
246254 */
247255 public function updateDomainNameserversV1 (string $ domain , \Hostinger \Model \DomainsV1PortfolioUpdateNameserversRequest $ domainsV1PortfolioUpdateNameserversRequest )
248256 {
0 commit comments