Total Complexity | 11 |
Total Lines | 60 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class ChangesSortOrder |
||
17 | { |
||
18 | /** |
||
19 | * @var Config |
||
20 | */ |
||
21 | protected $config; |
||
22 | |||
23 | /** |
||
24 | * @param Config $config |
||
25 | */ |
||
26 | public function __construct( |
||
27 | Config $config |
||
28 | ) { |
||
29 | $this->config = $config; |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * Change Components at Address Fields. |
||
34 | * |
||
35 | * @param array $fields |
||
36 | * |
||
37 | * @return array |
||
38 | */ |
||
39 | public function changeAddressFieldSortOrder(array $fields): array |
||
53 | } |
||
54 | |||
55 | /** |
||
56 | * Change Components at Customer Fields. |
||
57 | * |
||
58 | * @param array $fields |
||
59 | * |
||
60 | * @return array |
||
61 | */ |
||
62 | public function changeCreateAccountFieldSortOrder(array $fields): array |
||
78 |