Skip to content

Commit

Permalink
Merge pull request #40 from WilliamDEdwards/fix/return-type
Browse files Browse the repository at this point in the history
Fix return types
  • Loading branch information
fukszssl247 authored Jan 29, 2024
2 parents 73fe4fb + adf339a commit c5cccc5
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
28 changes: 14 additions & 14 deletions src/Requests/ReissueRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,9 @@ public function getProvince(): string

/**
* @param string $province
* @return CertificateRequest
* @return ReissueRequest
*/
public function setProvince(string $province): CertificateRequest
public function setProvince(string $province): ReissueRequest
{
$this->province = $province;
return $this;
Expand All @@ -245,9 +245,9 @@ public function getCountry(): string

/**
* @param string $country
* @return CertificateRequest
* @return ReissueRequest
*/
public function setCountry(string $country): CertificateRequest
public function setCountry(string $country): ReissueRequest
{
$this->country = $country;
return $this;
Expand Down Expand Up @@ -343,9 +343,9 @@ public function getApproverRepresentativePosition(): string

/**
* @param string $appRepPosition
* @return CertificateRequest
* @return ReissueRequest
*/
public function setApproverRepresentativePosition(string $appRepPosition): CertificateRequest
public function setApproverRepresentativePosition(string $appRepPosition): ReissueRequest
{
$this->approverRepresentativePosition = $appRepPosition;
return $this;
Expand All @@ -361,9 +361,9 @@ public function getApproverRepresentativeFirstName(): string

/**
* @param string $appRepFirstName
* @return CertificateRequest
* @return ReissueRequest
*/
public function setApproverRepresentativeFirstName(string $appRepFirstName): CertificateRequest
public function setApproverRepresentativeFirstName(string $appRepFirstName): ReissueRequest
{
$this->approverRepresentativeFirstName = $appRepFirstName;
return $this;
Expand All @@ -379,9 +379,9 @@ public function getApproverRepresentativeLastName(): string

/**
* @param string $appRepLastName
* @return CertificateRequest
* @return ReissueRequest
*/
public function setApproverRepresentativeLastName(string $appRepLastName): CertificateRequest
public function setApproverRepresentativeLastName(string $appRepLastName): ReissueRequest
{
$this->approverRepresentativeLastName = $appRepLastName;
return $this;
Expand All @@ -397,9 +397,9 @@ public function getApproverRepresentativeEmail(): string

/**
* @param string $appRepEmail
* @return CertificateRequest
* @return ReissueRequest
*/
public function setApproverRepresentativeEmail(string $appRepEmail): CertificateRequest
public function setApproverRepresentativeEmail(string $appRepEmail): ReissueRequest
{
$this->approverRepresentativeEmail = $appRepEmail;
return $this;
Expand All @@ -415,9 +415,9 @@ public function getApproverRepresentativePhone(): string

/**
* @param string $appRepPhone
* @return CertificateRequest
* @return ReissueRequest
*/
public function setApproverRepresentativePhone(string $appRepPhone): CertificateRequest
public function setApproverRepresentativePhone(string $appRepPhone): ReissueRequest
{
$this->approverRepresentativePhone = $appRepPhone;
return $this;
Expand Down
28 changes: 14 additions & 14 deletions src/Requests/RenewRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@ public function getProvince(): string

/**
* @param string $province
* @return CertificateRequest
* @return RenewRequest
*/
public function setProvince(string $province): CertificateRequest
public function setProvince(string $province): RenewRequest
{
$this->province = $province;
return $this;
Expand All @@ -255,9 +255,9 @@ public function getCountry(): string

/**
* @param string $country
* @return CertificateRequest
* @return RenewRequest
*/
public function setCountry(string $country): CertificateRequest
public function setCountry(string $country): RenewRequest
{
$this->country = $country;
return $this;
Expand Down Expand Up @@ -353,9 +353,9 @@ public function getApproverRepresentativePosition(): string

/**
* @param string $appRepPosition
* @return CertificateRequest
* @return RenewRequest
*/
public function setApproverRepresentativePosition(string $appRepPosition): CertificateRequest
public function setApproverRepresentativePosition(string $appRepPosition): RenewRequest
{
$this->approverRepresentativePosition = $appRepPosition;
return $this;
Expand All @@ -371,9 +371,9 @@ public function getApproverRepresentativeFirstName(): string

/**
* @param string $appRepFirstName
* @return CertificateRequest
* @return RenewRequest
*/
public function setApproverRepresentativeFirstName(string $appRepFirstName): CertificateRequest
public function setApproverRepresentativeFirstName(string $appRepFirstName): RenewRequest
{
$this->approverRepresentativeFirstName = $appRepFirstName;
return $this;
Expand All @@ -389,9 +389,9 @@ public function getApproverRepresentativeLastName(): string

/**
* @param string $appRepLastName
* @return CertificateRequest
* @return RenewRequest
*/
public function setApproverRepresentativeLastName(string $appRepLastName): CertificateRequest
public function setApproverRepresentativeLastName(string $appRepLastName): RenewRequest
{
$this->approverRepresentativeLastName = $appRepLastName;
return $this;
Expand All @@ -407,9 +407,9 @@ public function getApproverRepresentativeEmail(): string

/**
* @param string $appRepEmail
* @return CertificateRequest
* @return RenewRequest
*/
public function setApproverRepresentativeEmail(string $appRepEmail): CertificateRequest
public function setApproverRepresentativeEmail(string $appRepEmail): RenewRequest
{
$this->approverRepresentativeEmail = $appRepEmail;
return $this;
Expand All @@ -425,9 +425,9 @@ public function getApproverRepresentativePhone(): string

/**
* @param string $appRepPhone
* @return CertificateRequest
* @return RenewRequest
*/
public function setApproverRepresentativePhone(string $appRepPhone): CertificateRequest
public function setApproverRepresentativePhone(string $appRepPhone): RenewRequest
{
$this->approverRepresentativePhone = $appRepPhone;
return $this;
Expand Down

0 comments on commit c5cccc5

Please sign in to comment.