@@ -123,7 +123,7 @@ |
||
123 | 123 | || |
124 | 124 | (!empty($uni_galaxyRowPlanet['destruyed']) && CheckAbandonPlanetState($uni_galaxyRowPlanet)) |
125 | 125 | ) { |
126 | - $template->assign_block_vars('galaxyrow', ['PLANET_NUM' => $Planet,]); |
|
126 | + $template->assign_block_vars('galaxyrow', ['PLANET_NUM' => $Planet, ]); |
|
127 | 127 | continue; |
128 | 128 | } |
129 | 129 |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | } |
113 | 113 | |
114 | 114 | $payment_methods_available = array_combine(array_keys(sn_module_payment::$payment_methods), array_fill(0, count(sn_module_payment::$payment_methods), null)); |
115 | -array_walk($payment_methods_available, function (&$value, $index) { |
|
115 | +array_walk($payment_methods_available, function(&$value, $index) { |
|
116 | 116 | $value = !empty(sn_module_payment::$payment_methods[$index]) ? array_combine(array_keys(sn_module_payment::$payment_methods[$index]), array_fill(0, count(sn_module_payment::$payment_methods[$index]), null)) : $value; |
117 | 117 | }); |
118 | 118 | |
@@ -300,7 +300,7 @@ discard block |
||
300 | 300 | 'PLAYER_CURRENCY' => $player_currency, |
301 | 301 | 'PLAYER_CURRENCY_PRICE_PER_MM' => sn_module_payment::currency_convert(1, $player_currency, 'MM_', 10), |
302 | 302 | |
303 | - 'UNIT_AMOUNT' => (float)$request['metamatter'], |
|
303 | + 'UNIT_AMOUNT' => (float) $request['metamatter'], |
|
304 | 304 | 'UNIT_AMOUNT_TEXT' => HelperString::numberFloorAndFormat($request['metamatter']), |
305 | 305 | 'UNIT_AMOUNT_BONUS_PERCENT' => $bonus_percent, |
306 | 306 | 'UNIT_AMOUNT_TEXT_DISCOUNTED' => $income_metamatter_text, |