From bf2fa7fb605171bf5f5c872d2ef59df5ad3347c1 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 31 Jul 2021 17:20:48 +0200 Subject: [PATCH] bug fixes and template adjustments --- Models/ExchangeLog.php | 14 ++++++++------ Theme/Backend/Lang/en.lang.php | 8 ++++---- composer.json | 2 +- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/Models/ExchangeLog.php b/Models/ExchangeLog.php index 9eb7be6..0b21aeb 100755 --- a/Models/ExchangeLog.php +++ b/Models/ExchangeLog.php @@ -67,9 +67,7 @@ class ExchangeLog implements \JsonSerializable, ArrayableInterface * @var int * @since 1.0.0 */ - public int | - -InterfaceManager $exchange = 0; + public int|InterfaceManager $exchange = 0; /** * Date type. @@ -79,9 +77,13 @@ InterfaceManager $exchange = 0; */ public \DateTimeImmutable $createdAt; - public int | - -Account $createdBy = 0; + /** + * Created by account. + * + * @var int|Account + * @since 1.0.0 + */ + public int|Account $createdBy = 0; /** * Constructor. diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php index 3326c59..d7ce331 100755 --- a/Theme/Backend/Lang/en.lang.php +++ b/Theme/Backend/Lang/en.lang.php @@ -19,15 +19,15 @@ return ['Exchange' => [ 'Creator' => '', 'Database' => 'Database', 'End' => 'End', - 'Exchange' => '', + 'Exchange' => 'Exchange', 'Export' => 'Export', - 'Exports' => '', + 'Exports' => 'Exports', 'File' => 'File', 'Host' => 'Host', 'Import' => 'Import', - 'Imports' => '', + 'Imports' => 'Imports', 'Login' => 'Login', - 'Logs' => '', + 'Logs' => 'Logs', 'Options' => 'Options', 'Password' => 'Password', 'Port' => 'Port', diff --git a/composer.json b/composer.json index 7ad134b..7cf5769 100755 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "require-dev": { "phpunit/phpunit": ">=9.4", "friendsofphp/php-cs-fixer": ">=3.0", - "squizlabs/php_codesniffer": ">=3.5", + "squizlabs/php_codesniffer": ">=3.6", "phpmd/phpmd": ">=2.9", "phpstan/phpstan": ">=0.12.58", "phan/phan": ">=3.2.6"