@@ -43,8 +43,7 @@ |
||
| 43 | 43 | string $adm_relative_path, |
| 44 | 44 | string $phpbb_root_path, |
| 45 | 45 | string $php_ext |
| 46 | - ) |
|
| 47 | - { |
|
| 46 | + ) { |
|
| 48 | 47 | $this->template = $template; |
| 49 | 48 | $this->language = $language; |
| 50 | 49 | $this->user = $user; |
@@ -34,8 +34,7 @@ |
||
| 34 | 34 | \phpbb\config\config $config, |
| 35 | 35 | $phpbb_root_path, |
| 36 | 36 | $php_ext |
| 37 | - ) |
|
| 38 | - { |
|
| 37 | + ) { |
|
| 39 | 38 | $this->auth = $auth; |
| 40 | 39 | $this->config = $config; |
| 41 | 40 | $this->phpbb_root_path = $phpbb_root_path; |
@@ -73,14 +73,14 @@ |
||
| 73 | 73 | private function populate_template_vars(): array |
| 74 | 74 | { |
| 75 | 75 | return [ |
| 76 | - ['var' => '{USER_ID}', 'value' => $this->user->data['user_id']], |
|
| 77 | - ['var' => '{USERNAME}', 'value' => $this->user->data['username']], |
|
| 78 | - ['var' => '{SITE_NAME}', 'value' => $this->config['sitename']], |
|
| 79 | - ['var' => '{SITE_DESC}', 'value' => $this->config['site_desc']], |
|
| 80 | - ['var' => '{BOARD_CONTACT}', 'value' => $this->config['board_contact']], |
|
| 81 | - ['var' => '{BOARD_EMAIL}', 'value' => $this->config['board_email']], |
|
| 82 | - ['var' => '{BOARD_SIG}', 'value' => $this->config['board_email_sig']], |
|
| 83 | - ['var' => '{DONATION_GOAL}', 'value' => $this->actions_currency->format_currency((float) $this->config['ppde_goal'])], |
|
| 76 | + ['var' => '{USER_ID}', 'value' => $this->user->data['user_id']], |
|
| 77 | + ['var' => '{USERNAME}', 'value' => $this->user->data['username']], |
|
| 78 | + ['var' => '{SITE_NAME}', 'value' => $this->config['sitename']], |
|
| 79 | + ['var' => '{SITE_DESC}', 'value' => $this->config['site_desc']], |
|
| 80 | + ['var' => '{BOARD_CONTACT}', 'value' => $this->config['board_contact']], |
|
| 81 | + ['var' => '{BOARD_EMAIL}', 'value' => $this->config['board_email']], |
|
| 82 | + ['var' => '{BOARD_SIG}', 'value' => $this->config['board_email_sig']], |
|
| 83 | + ['var' => '{DONATION_GOAL}', 'value' => $this->actions_currency->format_currency((float) $this->config['ppde_goal'])], |
|
| 84 | 84 | ['var' => '{DONATION_RAISED}', 'value' => $this->actions_currency->format_currency((float) $this->config['ppde_raised'])], |
| 85 | 85 | ]; |
| 86 | 86 | } |
@@ -41,8 +41,7 @@ |
||
| 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; |
@@ -28,8 +28,7 @@ |
||
| 28 | 28 | public function __construct( |
| 29 | 29 | config $config, |
| 30 | 30 | ext_manager $ppde_ext_manager |
| 31 | - ) |
|
| 32 | - { |
|
| 31 | + ) { |
|
| 33 | 32 | $this->config = $config; |
| 34 | 33 | $this->ppde_ext_manager = $ppde_ext_manager; |
| 35 | 34 | } |