@@ -105,7 +105,7 @@ |
||
| 105 | 105 | */ |
| 106 | 106 | private function add_predefined_lang_vars(): void |
| 107 | 107 | { |
| 108 | - array_walk($this->dp_vars, function (&$value) { |
|
| 108 | + array_walk($this->dp_vars, function(&$value) { |
|
| 109 | 109 | $value['name'] = $this->language->lang('PPDE_DP_' . trim($value['var'], '{}')); |
| 110 | 110 | }); |
| 111 | 111 | } |
@@ -41,8 +41,7 @@ discard block |
||
| 41 | 41 | config $config, |
| 42 | 42 | language $language, |
| 43 | 43 | user $user |
| 44 | - ) |
|
| 45 | - { |
|
| 44 | + ) { |
|
| 46 | 45 | $this->actions_core = $actions_core; |
| 47 | 46 | $this->actions_currency = $actions_currency; |
| 48 | 47 | $this->config = $config; |
@@ -105,7 +104,8 @@ discard block |
||
| 105 | 104 | */ |
| 106 | 105 | private function add_predefined_lang_vars(): void |
| 107 | 106 | { |
| 108 | - array_walk($this->dp_vars, function (&$value) { |
|
| 107 | + array_walk($this->dp_vars, function (&$value) |
|
| 108 | + { |
|
| 109 | 109 | $value['name'] = $this->language->lang('PPDE_DP_' . trim($value['var'], '{}')); |
| 110 | 110 | }); |
| 111 | 111 | } |