From 42e564c10c5f03c6062f4551bd70845f129be036 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 6 Oct 2019 17:50:12 +0200 Subject: [PATCH] phpcs fixes --- Models/IncomeStatement.php | 12 +++++++----- Theme/Backend/Lang/Navigation.en.lang.php | 4 +++- Theme/Backend/Lang/api.en.lang.php | 4 +++- Theme/Backend/Lang/en.lang.php | 4 +++- Theme/Backend/entries.tpl.php | 4 +++- Theme/Backend/gl-create.tpl.php | 4 +++- Theme/Backend/gl-list.tpl.php | 4 +++- Theme/Backend/gl-profile.tpl.php | 4 +++- Theme/Backend/journal-list.tpl.php | 4 +++- Theme/Backend/stack-archive-list.tpl.php | 4 +++- Theme/Backend/stack-create.tpl.php | 4 +++- Theme/Backend/stack-entries.tpl.php | 4 +++- Theme/Backend/stack-list.tpl.php | 4 +++- Theme/Backend/stack-predefined-list.tpl.php | 4 +++- 14 files changed, 46 insertions(+), 18 deletions(-) diff --git a/Models/IncomeStatement.php b/Models/IncomeStatement.php index 806c26f..c2106f8 100644 --- a/Models/IncomeStatement.php +++ b/Models/IncomeStatement.php @@ -24,13 +24,15 @@ namespace Modules\Accounting\Models; */ class IncomeStatement { - private $id = 0; + /** + * ID. + * + * @var int + * @since 1.0.0 + */ + protected int $id = 0; private $date = null; private $incomeStatement = []; - - public function __construct() - { - } } diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php index 3f4aa6f..812500a 100644 --- a/Theme/Backend/Lang/Navigation.en.lang.php +++ b/Theme/Backend/Lang/Navigation.en.lang.php @@ -1,4 +1,4 @@ - [ 'Accounting' => 'Accounting', 'AccountPostings' => 'Account Postings', diff --git a/Theme/Backend/Lang/api.en.lang.php b/Theme/Backend/Lang/api.en.lang.php index 38d39ff..b8de0e2 100644 --- a/Theme/Backend/Lang/api.en.lang.php +++ b/Theme/Backend/Lang/api.en.lang.php @@ -1,4 +1,4 @@ - [ 'Account' => 'Account', 'Accounts' => 'Accounts', diff --git a/Theme/Backend/entries.tpl.php b/Theme/Backend/entries.tpl.php index 1cc0390..ed64d0e 100644 --- a/Theme/Backend/entries.tpl.php +++ b/Theme/Backend/entries.tpl.php @@ -1,4 +1,4 @@ -getData('nav')->render(); $footerView = new \phpOMS\Views\PaginationView($this->app, $this->request, $this->response); diff --git a/Theme/Backend/gl-create.tpl.php b/Theme/Backend/gl-create.tpl.php index 6e94c2f..ac5b964 100644 --- a/Theme/Backend/gl-create.tpl.php +++ b/Theme/Backend/gl-create.tpl.php @@ -1,4 +1,4 @@ -getData('nav')->render(); ?>
diff --git a/Theme/Backend/gl-list.tpl.php b/Theme/Backend/gl-list.tpl.php index da90cf8..843a906 100644 --- a/Theme/Backend/gl-list.tpl.php +++ b/Theme/Backend/gl-list.tpl.php @@ -1,4 +1,4 @@ -getData('nav')->render(); diff --git a/Theme/Backend/journal-list.tpl.php b/Theme/Backend/journal-list.tpl.php index d0ed5b1..f9b1294 100644 --- a/Theme/Backend/journal-list.tpl.php +++ b/Theme/Backend/journal-list.tpl.php @@ -1,4 +1,4 @@ -getData('nav')->render(); diff --git a/Theme/Backend/stack-list.tpl.php b/Theme/Backend/stack-list.tpl.php index a546003..849ef7f 100644 --- a/Theme/Backend/stack-list.tpl.php +++ b/Theme/Backend/stack-list.tpl.php @@ -1,4 +1,4 @@ -