File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ class Invoice
53
53
private ?string $ bitpayGuid ;
54
54
55
55
#[ORM \Column]
56
- private bool $ exceptionStatus = false ;
56
+ private string $ exceptionStatus = ' false ' ;
57
57
58
58
#[ORM \Column(nullable: true )]
59
59
private ?string $ bitpayUrl ;
@@ -298,15 +298,15 @@ public function setBitpayGuid(?string $bitpayGuid): void
298
298
/**
299
299
* @return bool
300
300
*/
301
- public function getExceptionStatus (): bool
301
+ public function getExceptionStatus (): string
302
302
{
303
303
return $ this ->exceptionStatus ;
304
304
}
305
305
306
306
/**
307
307
* @param bool $exceptionStatus
308
308
*/
309
- public function setExceptionStatus (bool $ exceptionStatus ): void
309
+ public function setExceptionStatus (string $ exceptionStatus ): void
310
310
{
311
311
$ this ->exceptionStatus = $ exceptionStatus ;
312
312
}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class Payment
17
17
private ?int $ id = null ;
18
18
19
19
#[ORM \Column(nullable: true )]
20
- private ?int $ amountPaid = null ;
20
+ private ?float $ amountPaid = null ;
21
21
22
22
#[ORM \Column(nullable: true )]
23
23
private ?string $ displayAmountPaid = null ;
@@ -61,12 +61,12 @@ public function getId(): ?int
61
61
return $ this ->id ;
62
62
}
63
63
64
- public function getAmountPaid (): ?int
64
+ public function getAmountPaid (): ?float
65
65
{
66
66
return $ this ->amountPaid ;
67
67
}
68
68
69
- public function setAmountPaid (?int $ amountPaid ): void
69
+ public function setAmountPaid (?float $ amountPaid ): void
70
70
{
71
71
$ this ->amountPaid = $ amountPaid ;
72
72
}
You can’t perform that action at this time.
0 commit comments