Total Complexity | 2 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
9 | final class PaymentRequired extends AbstractApiProblem |
||
10 | { |
||
11 | /** |
||
12 | * @var string[] |
||
13 | */ |
||
14 | private $paymentTypes = []; |
||
15 | |||
16 | /** |
||
17 | * @param string[] $paymentTypes |
||
18 | */ |
||
19 | public function __construct(array $paymentTypes, string $detail = null, string $instance = null) |
||
30 | } |
||
31 | 2 | ||
32 | 2 | /** |
|
33 | * @return string[] |
||
34 | */ |
||
35 | public function getPaymentTypes(): array |
||
40 |