From a6028c8889df8341482386f36599cf84f6417481 Mon Sep 17 00:00:00 2001 From: Formatter Bot Date: Fri, 28 May 2021 18:30:31 +0000 Subject: [PATCH] Automated formatting changes --- Controller/BackendController.php | 12 ++++++------ Theme/Backend/client-analysis.tpl.php | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Controller/BackendController.php b/Controller/BackendController.php index 24e5576..090f487 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -20,8 +20,8 @@ use Modules\ClientManagement\Models\ClientMapper; use Modules\Media\Models\Media; use phpOMS\Asset\AssetType; use phpOMS\Contract\RenderableInterface; -use phpOMS\Localization\ISO3166NameEnum; use phpOMS\Localization\ISO3166CharEnum; +use phpOMS\Localization\ISO3166NameEnum; use phpOMS\Localization\Money; use phpOMS\Message\RequestAbstract; use phpOMS\Message\ResponseAbstract; @@ -281,7 +281,7 @@ final class BackendController extends Controller for ($j = 1; $j < 11; ++$j) { $annualCustomersRep['Rep ' . $i][] = [ 'customers' => (int) (\mt_rand(200, 400) / 12), - 'year' => 2020 - 10 + $j, + 'year' => 2020 - 10 + $j, ]; } } @@ -291,7 +291,7 @@ final class BackendController extends Controller ///// $currentCustomersCountry = []; for ($i = 1; $i < 51; ++$i) { - $country = ISO3166NameEnum::getRandom(); + $country = ISO3166NameEnum::getRandom(); $currentCustomersCountry[\substr($country, 0, 20)] = [ 'customers' => (int) (\mt_rand(200, 400) / 12), ]; @@ -310,9 +310,9 @@ final class BackendController extends Controller for ($j = 1; $j < 11; ++$j) { $annualCustomersCountry[\substr($countryName, 0, 20)][] = [ 'customers' => (int) (\mt_rand(200, 400) / 12), - 'year' => 2020 - 10 + $j, - 'name' => $countryName, - 'code' => $countryCode, + 'year' => 2020 - 10 + $j, + 'name' => $countryName, + 'code' => $countryCode, ]; } } diff --git a/Theme/Backend/client-analysis.tpl.php b/Theme/Backend/client-analysis.tpl.php index b8f8fdb..961ec8d 100755 --- a/Theme/Backend/client-analysis.tpl.php +++ b/Theme/Backend/client-analysis.tpl.php @@ -2264,7 +2264,7 @@ echo $this->getData('nav')->render(); $annual) : ++$i; if ($i > $rnd) break; ?> @@ -3329,7 +3329,7 @@ echo $this->getData('nav')->render(); $annual) : ++$i; if ($i > $rnd) break; ?>