From 9c120dd164a2e68711688159160617a2de5a8510 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 26 Jan 2020 12:27:56 +0100 Subject: [PATCH] phpcs fix --- Controller/Controller.php | 12 ++++++------ Models/AccountAbstract.php | 6 +++--- Models/Balance.php | 8 ++++---- Models/BatchPosting.php | 10 +++++----- Models/Creditor.php | 4 ++-- Models/Debitor.php | 4 ++-- Models/IncomeStatement.php | 2 +- 7 files changed, 23 insertions(+), 23 deletions(-) diff --git a/Controller/Controller.php b/Controller/Controller.php index 06d29ac..de9b423 100644 --- a/Controller/Controller.php +++ b/Controller/Controller.php @@ -30,7 +30,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module path. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_PATH = __DIR__ . '/../'; @@ -38,7 +38,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module version. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_VERSION = '1.0.0'; @@ -46,7 +46,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module name. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_NAME = 'Accounting'; @@ -54,7 +54,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module id. * - * @var int + * @var int * @since 1.0.0 */ public const MODULE_ID = 1002600000; @@ -62,7 +62,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Providing. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $providing = []; @@ -70,7 +70,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Dependencies. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $dependencies = [ diff --git a/Models/AccountAbstract.php b/Models/AccountAbstract.php index c27276b..057a1a0 100644 --- a/Models/AccountAbstract.php +++ b/Models/AccountAbstract.php @@ -27,7 +27,7 @@ abstract class AccountAbstract /** * Account ID. * - * @var int + * @var int * @since 1.0.0 */ protected int $id = 0; @@ -35,7 +35,7 @@ abstract class AccountAbstract /** * Type. * - * @var int + * @var int * @since 1.0.0 */ protected int $type = AccountType::IMPERSONAL; @@ -43,7 +43,7 @@ abstract class AccountAbstract /** * Entry list. * - * @var EntryInterface[] + * @var EntryInterface[] * @since 1.0.0 */ protected array $entries = []; diff --git a/Models/Balance.php b/Models/Balance.php index 14feac5..18fcfa8 100644 --- a/Models/Balance.php +++ b/Models/Balance.php @@ -27,7 +27,7 @@ class Balance /** * ID. * - * @var int + * @var int * @since 1.0.0 */ private int $id = 0; @@ -35,7 +35,7 @@ class Balance /** * Balance data. * - * @var array + * @var array * @since 1.0.0 */ private array $balance = []; @@ -43,7 +43,7 @@ class Balance /** * Balance name. * - * @var string + * @var string * @since 1.0.0 */ private string $name = ''; @@ -51,7 +51,7 @@ class Balance /** * Balance description. * - * @var string + * @var string * @since 1.0.0 */ private string $description = ''; diff --git a/Models/BatchPosting.php b/Models/BatchPosting.php index d444e02..ef10d4a 100644 --- a/Models/BatchPosting.php +++ b/Models/BatchPosting.php @@ -27,7 +27,7 @@ class BatchPosting implements \Countable /** * ID. * - * @var int + * @var int * @since 1.0.0 */ private int $id = 0; @@ -35,7 +35,7 @@ class BatchPosting implements \Countable /** * Creator. * - * @var int + * @var int * @since 1.0.0 */ private int $creator = 0; @@ -43,7 +43,7 @@ class BatchPosting implements \Countable /** * Created. * - * @var \DateTime + * @var \DateTime * @since 1.0.0 */ private \DateTime $created; @@ -51,7 +51,7 @@ class BatchPosting implements \Countable /** * Description. * - * @var string + * @var string * @since 1.0.0 */ private string $description = ''; @@ -59,7 +59,7 @@ class BatchPosting implements \Countable /** * Postings. * - * @var PostingInterface[] + * @var PostingInterface[] * @since 1.0.0 */ private $postings = []; diff --git a/Models/Creditor.php b/Models/Creditor.php index 73a97b8..7614f1e 100644 --- a/Models/Creditor.php +++ b/Models/Creditor.php @@ -29,7 +29,7 @@ class Creditor /** * Creditor ID. * - * @var int + * @var int * @since 1.0.0 */ protected int $id = 0; @@ -37,7 +37,7 @@ class Creditor /** * Account. * - * @var null|int|Account + * @var null|int|Account * @since 1.0.0 */ protected $account = null; diff --git a/Models/Debitor.php b/Models/Debitor.php index 7b4d81b..fe7f56d 100644 --- a/Models/Debitor.php +++ b/Models/Debitor.php @@ -29,7 +29,7 @@ class Debitor /** * Debitor ID. * - * @var int + * @var int * @since 1.0.0 */ protected int $id = 0; @@ -37,7 +37,7 @@ class Debitor /** * Account. * - * @var null|int|Account + * @var null|int|Account * @since 1.0.0 */ protected $account = null; diff --git a/Models/IncomeStatement.php b/Models/IncomeStatement.php index c2106f8..a65cba9 100644 --- a/Models/IncomeStatement.php +++ b/Models/IncomeStatement.php @@ -27,7 +27,7 @@ class IncomeStatement /** * ID. * - * @var int + * @var int * @since 1.0.0 */ protected int $id = 0;