Skip to content

Commit

Permalink
Merge pull request #79 from world4youcom/fix_type_annotations_in_frau…
Browse files Browse the repository at this point in the history
…d_prevention

Add type annotations in FraudPrevention
  • Loading branch information
sprain committed Oct 19, 2023
2 parents cfb02f8 + a30ba9c commit c653bfe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/SaferpayJson/Response/Container/FraudPrevention.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace Ticketpark\SaferpayJson\Response\Container;

use JMS\Serializer\Annotation\SerializedName;
use JMS\Serializer\Annotation\Type;

final class FraudPrevention
{
Expand All @@ -14,6 +15,7 @@ final class FraudPrevention
/**
* @var string|null
* @SerializedName("Result")
* @Type("string")
*/
private $result;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ final class AuthorizeDirectResponse extends Response
/**
* @var FraudPrevention|null
* @SerializedName("FraudPrevention")
* @Type("Ticketpark\SaferpayJson\Response\Container\FraudPrevention")
*/
private $fraudPrevention;

Expand Down

0 comments on commit c653bfe

Please sign in to comment.