Conditions | 1 |
Paths | 1 |
Total Lines | 20 |
Code Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | public function toOptionArray(): array |
||
24 | { |
||
25 | $options = []; |
||
26 | $options[] = [ |
||
27 | 'value' => 'credit', |
||
28 | 'label' => __('Credit'), |
||
29 | ]; |
||
30 | $options[] = [ |
||
31 | 'value' => 'debit', |
||
32 | 'label' => __('Debit'), |
||
33 | ]; |
||
34 | $options[] = [ |
||
35 | 'value' => 'pix', |
||
36 | 'label' => __('Pix'), |
||
37 | ]; |
||
38 | $options[] = [ |
||
39 | 'value' => 'qr_code', |
||
40 | 'label' => __('Qr Code'), |
||
41 | ]; |
||
42 | return $options; |
||
43 | } |
||
45 |
This interface has been deprecated. The supplier of the interface has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the interface will be removed and what other interface to use instead.