@@ -52,8 +52,7 @@ |
||
| 52 | 52 | main_display_stats $ppde_controller_display_stats, |
| 53 | 53 | template $template, |
| 54 | 54 | string $php_ext |
| 55 | - ) |
|
| 56 | - { |
|
| 55 | + ) { |
|
| 57 | 56 | $this->config = $config; |
| 58 | 57 | $this->controller_helper = $controller_helper; |
| 59 | 58 | $this->language = $language; |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | |
| 77 | 77 | $lang = array_merge($lang, [ |
| 78 | 78 | 'PPDE_DONORS' => [ |
| 79 | - 1 => '%d donateur', // 1 |
|
| 79 | + 1 => '%d donateur', // 1 |
|
| 80 | 80 | 2 => '%d donateurs', // 2+ |
| 81 | 81 | ], |
| 82 | 82 | ]); |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | |
| 77 | 77 | $lang = array_merge($lang, [ |
| 78 | 78 | 'PPDE_DONORS' => [ |
| 79 | - 1 => '%d donor', // 1 |
|
| 79 | + 1 => '%d donor', // 1 |
|
| 80 | 80 | 2 => '%d donors', // 2+ |
| 81 | 81 | ], |
| 82 | 82 | ]); |
@@ -66,8 +66,7 @@ |
||
| 66 | 66 | user_loader $user_loader, |
| 67 | 67 | string $root_path, |
| 68 | 68 | string $php_ext |
| 69 | - ) |
|
| 70 | - { |
|
| 69 | + ) { |
|
| 71 | 70 | $this->config = $config; |
| 72 | 71 | $this->container = $container; |
| 73 | 72 | $this->helper = $helper; |
@@ -35,8 +35,7 @@ |
||
| 35 | 35 | locale_icu $locale, |
| 36 | 36 | currency_operator $operator, |
| 37 | 37 | template $template |
| 38 | - ) |
|
| 39 | - { |
|
| 38 | + ) { |
|
| 40 | 39 | $this->entity = $entity; |
| 41 | 40 | $this->locale = $locale; |
| 42 | 41 | $this->operator = $operator; |
@@ -31,8 +31,7 @@ |
||
| 31 | 31 | manager $notification_manager, |
| 32 | 32 | currency $actions_currency, |
| 33 | 33 | transactions $entity_transaction |
| 34 | - ) |
|
| 35 | - { |
|
| 34 | + ) { |
|
| 36 | 35 | $this->notification_manager = $notification_manager; |
| 37 | 36 | $this->actions_currency = $actions_currency; |
| 38 | 37 | $this->entity_transaction = $entity_transaction; |
@@ -95,8 +95,7 @@ |
||
| 95 | 95 | string $adm_relative_path, |
| 96 | 96 | string $phpbb_root_path, |
| 97 | 97 | string $php_ext |
| 98 | - ) |
|
| 99 | - { |
|
| 98 | + ) { |
|
| 100 | 99 | $this->auth = $auth; |
| 101 | 100 | $this->config = $config; |
| 102 | 101 | $this->container = $container; |
@@ -188,7 +188,7 @@ |
||
| 188 | 188 | } |
| 189 | 189 | |
| 190 | 190 | // Build pattern and keywords... |
| 191 | - $keywords = array_map(function ($keyword) { |
|
| 191 | + $keywords = array_map(function($keyword) { |
|
| 192 | 192 | return $this->db->sql_like_expression($this->db->get_any_char() . $keyword . $this->db->get_any_char()); |
| 193 | 193 | }, $keywords); |
| 194 | 194 | |
@@ -188,7 +188,8 @@ |
||
| 188 | 188 | } |
| 189 | 189 | |
| 190 | 190 | // Build pattern and keywords... |
| 191 | - $keywords = array_map(function ($keyword) { |
|
| 191 | + $keywords = array_map(function ($keyword) |
|
| 192 | + { |
|
| 192 | 193 | return $this->db->sql_like_expression($this->db->get_any_char() . $keyword . $this->db->get_any_char()); |
| 193 | 194 | }, $keywords); |
| 194 | 195 | |
@@ -89,8 +89,7 @@ |
||
| 89 | 89 | language $language, |
| 90 | 90 | ipn_log $ppde_ipn_log, |
| 91 | 91 | request $request |
| 92 | - ) |
|
| 93 | - { |
|
| 92 | + ) { |
|
| 94 | 93 | $this->config = $config; |
| 95 | 94 | $this->language = $language; |
| 96 | 95 | $this->ppde_ipn_log = $ppde_ipn_log; |