diff --git a/Admin/Installer.php b/Admin/Installer.php index 3af72e3..96f996b 100755 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -16,10 +16,10 @@ namespace Modules\LoanManagement\Admin; use phpOMS\Application\ApplicationAbstract; use phpOMS\Config\SettingsInterface; -use phpOMS\Module\InstallerAbstract; -use phpOMS\Module\ModuleInfo; use phpOMS\Message\Http\HttpRequest; use phpOMS\Message\Http\HttpResponse; +use phpOMS\Module\InstallerAbstract; +use phpOMS\Module\ModuleInfo; /** * Installer class. diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 92e6a3a..f1df4dc 100644 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -218,4 +218,4 @@ final class ApiController extends Controller return $costL11n; } -} \ No newline at end of file +} diff --git a/Models/Loan.php b/Models/Loan.php index 76fb58a..caa7c76 100755 --- a/Models/Loan.php +++ b/Models/Loan.php @@ -97,11 +97,16 @@ class Loan public bool $hasManualTaxAmounts = false; + /** + * Constructor. + * + * @since 1.0.0 + */ public function __construct() { $this->loanProvider = new NullSupplier(); - $this->start = new \DateTime(); - $this->end = $this->start->modify('+1 year'); - $this->payout = $this->start; + $this->start = new \DateTime(); + $this->end = $this->start->modify('+1 year'); + $this->payout = $this->start; } } diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php index eea00cc..db90f50 100755 --- a/Theme/Backend/Lang/en.lang.php +++ b/Theme/Backend/Lang/en.lang.php @@ -13,5 +13,5 @@ declare(strict_types=1); return ['LoanManagement' => [ - 'Loans' => 'Loans' + 'Loans' => 'Loans', ]]; diff --git a/Theme/Backend/loan-list.tpl.php b/Theme/Backend/loan-list.tpl.php index ca2fa28..ba439b3 100755 --- a/Theme/Backend/loan-list.tpl.php +++ b/Theme/Backend/loan-list.tpl.php @@ -13,4 +13,3 @@ declare(strict_types=1); echo $this->data['nav']->render(); -?> \ No newline at end of file