Skip to content

Commit

Permalink
Add support for nullability
Browse files Browse the repository at this point in the history
  • Loading branch information
zaporylie committed Jul 31, 2024
1 parent 359d8c8 commit 0e2ba59
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Model/RecurringPayment/v3/Agreement.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Agreement
protected $productName;

/**
* @var string
* @var string|null
* @Serializer\Type("string")
*/
protected $productDescription;
Expand Down Expand Up @@ -163,9 +163,9 @@ public function getPricing(): Pricing
/**
* Gets productDescription value.
*
* @return string
* @return string|null
*/
public function getProductDescription(): string
public function getProductDescription(): ?string
{
return $this->productDescription;
}
Expand Down

0 comments on commit 0e2ba59

Please sign in to comment.