From ec7db03b39c14eaafd34e75145b7e6e3c57785e6 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 6 Oct 2019 17:50:12 +0200 Subject: [PATCH] phpcs fixes --- Models/Arrival.php | 2 +- Models/Article.php | 6 ++++-- Models/Shipping.php | 2 +- Theme/Backend/Lang/Navigation.en.lang.php | 4 +++- Theme/Backend/Lang/api.en.lang.php | 4 +++- Theme/Backend/Lang/en.lang.php | 4 +++- 6 files changed, 15 insertions(+), 7 deletions(-) diff --git a/Models/Arrival.php b/Models/Arrival.php index cd10b2b..c0b7126 100644 --- a/Models/Arrival.php +++ b/Models/Arrival.php @@ -79,7 +79,7 @@ class Arrival * @var \Modules\Warehousing\Models\ArrivalStatus * @since 1.0.0 */ - private $status = null; + private int $status = null; /* TODO: count, packaging, product count etc.... for every single position + where do you put it */ diff --git a/Models/Article.php b/Models/Article.php index b3aac88..94a7f3b 100644 --- a/Models/Article.php +++ b/Models/Article.php @@ -1,4 +1,4 @@ - [ 'Arrival' => 'Arrival', 'Articles' => 'Articles', diff --git a/Theme/Backend/Lang/api.en.lang.php b/Theme/Backend/Lang/api.en.lang.php index 4ca4bb1..2557a9e 100644 --- a/Theme/Backend/Lang/api.en.lang.php +++ b/Theme/Backend/Lang/api.en.lang.php @@ -1,4 +1,4 @@ - [ 'All' => 'All', 'Amount' => 'Amount',