Skip to content

Commit

Permalink
Make $CustomerReference nullable in AuthenticateSPRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
elnurvl committed Sep 6, 2021
1 parent 9dd1fc8 commit d61a052
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Gateway/Request/AuthenticateSPRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
class AuthenticateSPRequest
{
/**
* @var string
* @var ?string
*/
private string $CustomerReference;
private ?string $CustomerReference;

/**
* @var stdClass
Expand Down Expand Up @@ -111,19 +111,19 @@ private function addContactDetails(Identity $identity)
}

/**
* @return string
* @return ?string
*/
public function getCustomerReference(): string
public function getCustomerReference(): ?string
{
return $this->CustomerReference;
}

/**
* @param string $CustomerReference
* @param ?string $CustomerReference
*
* @return AuthenticateSPRequest
*/
public function setCustomerReference(string $CustomerReference): AuthenticateSPRequest
public function setCustomerReference(?string $CustomerReference): AuthenticateSPRequest
{
$this->CustomerReference = $CustomerReference;

Expand Down

0 comments on commit d61a052

Please sign in to comment.