Automated formatting changes

This commit is contained in:
Formatter Bot 2021-06-05 09:06:47 +00:00
parent db1e1b1f30
commit a2741b4dd8

View File

@ -698,7 +698,7 @@ final class BackendController extends Controller
for ($j = 1; $j < 11; ++$j) { for ($j = 1; $j < 11; ++$j) {
$annualCustomersRep['Rep ' . $i][] = [ $annualCustomersRep['Rep ' . $i][] = [
'customers' => (int) (\mt_rand(200, 400) / 12), 'customers' => (int) (\mt_rand(200, 400) / 12),
'year' => 2020 - 10 + $j, 'year' => 2020 - 10 + $j,
]; ];
} }
} }
@ -708,7 +708,7 @@ final class BackendController extends Controller
///// /////
$currentCustomersCountry = []; $currentCustomersCountry = [];
for ($i = 1; $i < 51; ++$i) { for ($i = 1; $i < 51; ++$i) {
$country = ISO3166NameEnum::getRandom(); $country = ISO3166NameEnum::getRandom();
$currentCustomersCountry[\substr($country, 0, 20)] = [ $currentCustomersCountry[\substr($country, 0, 20)] = [
'customers' => (int) (\mt_rand(200, 400) / 12), 'customers' => (int) (\mt_rand(200, 400) / 12),
]; ];
@ -727,9 +727,9 @@ final class BackendController extends Controller
for ($j = 1; $j < 11; ++$j) { for ($j = 1; $j < 11; ++$j) {
$annualCustomersCountry[\substr($countryName, 0, 20)][] = [ $annualCustomersCountry[\substr($countryName, 0, 20)][] = [
'customers' => (int) (\mt_rand(200, 400) / 12), 'customers' => (int) (\mt_rand(200, 400) / 12),
'year' => 2020 - 10 + $j, 'year' => 2020 - 10 + $j,
'name' => $countryName, 'name' => $countryName,
'code' => $countryCode, 'code' => $countryCode,
]; ];
} }
} }