From 87fa71757837f3747191a90e9925ba3d49ad6b7b Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 23 Jan 2016 10:17:21 +0100 Subject: [PATCH] Remove namespace from scalars --- Controller.php | 14 +++++++------- Models/Arrival.php | 20 ++++++++++---------- Models/Article.php | 44 ++++++++++++++++++++++---------------------- Models/Shipping.php | 22 +++++++++++----------- Models/Warehouse.php | 18 +++++++++--------- 5 files changed, 59 insertions(+), 59 deletions(-) diff --git a/Controller.php b/Controller.php index c5f9a2e..c22769b 100644 --- a/Controller.php +++ b/Controller.php @@ -41,7 +41,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module path. * - * @var \string + * @var string * @since 1.0.0 */ const MODULE_PATH = __DIR__; @@ -49,7 +49,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module version. * - * @var \string + * @var string * @since 1.0.0 */ const MODULE_VERSION = '1.0.0'; @@ -57,7 +57,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module name. * - * @var \string + * @var string * @since 1.0.0 */ const MODULE_NAME = 'WarehouseManagement'; @@ -65,7 +65,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Localization files. * - * @var \string + * @var string * @since 1.0.0 */ protected static $localization = [ @@ -75,7 +75,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Providing. * - * @var \string + * @var string * @since 1.0.0 */ protected static $providing = []; @@ -83,7 +83,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Dependencies. * - * @var \string + * @var string * @since 1.0.0 */ protected static $dependencies = [ @@ -108,7 +108,7 @@ class Controller extends ModuleAbstract implements WebInterface * @since 1.0.0 * @author Dennis Eichhorn */ - private function createNavigation(\int $pageId, RequestAbstract $request, ResponseAbstract $response) + private function createNavigation(int $pageId, RequestAbstract $request, ResponseAbstract $response) { $nav = Navigation::getInstance($request, $this->app->dbPool); $navView = new NavigationView($this->app, $request, $response); diff --git a/Models/Arrival.php b/Models/Arrival.php index 90254aa..39588d2 100644 --- a/Models/Arrival.php +++ b/Models/Arrival.php @@ -34,7 +34,7 @@ class Arrival implements Multition /** * ID. * - * @var \int + * @var int * @since 1.0.0 */ private $id = ''; @@ -42,7 +42,7 @@ class Arrival implements Multition /** * Order. * - * @var \int + * @var int * @since 1.0.0 */ private $order = ''; @@ -74,7 +74,7 @@ class Arrival implements Multition /** * Person who accepted the delivery. * - * @var \int + * @var int * @since 1.0.0 */ private $acceptor = null; @@ -100,7 +100,7 @@ class Arrival implements Multition /** * Constructor. * - * @param \int $id Arrival ID + * @param int $id Arrival ID * * @since 1.0.0 * @author Dennis Eichhorn @@ -127,7 +127,7 @@ class Arrival implements Multition /** * Initializing object. * - * @param \int $id Arrival ID + * @param int $id Arrival ID * * @return \Modules\Warehousing\Models\Arrival * @@ -146,7 +146,7 @@ class Arrival implements Multition /** * Get ID. * - * @return \int + * @return int * * @since 1.0.0 * @author Dennis Eichhorn @@ -187,7 +187,7 @@ class Arrival implements Multition /** * Get order. * - * @return \int + * @return int * * @since 1.0.0 * @author Dennis Eichhorn @@ -200,7 +200,7 @@ class Arrival implements Multition /** * Set order. * - * @param \int $order Order Id + * @param int $order Order Id * * @return void * @@ -284,7 +284,7 @@ class Arrival implements Multition /** * Get acceptor. * - * @return \int + * @return int * * @since 1.0.0 * @author Dennis Eichhorn @@ -297,7 +297,7 @@ class Arrival implements Multition /** * Set acceptor. * - * @param \int $acceptor Person who accepted the consignment + * @param int $acceptor Person who accepted the consignment * * @return void * diff --git a/Models/Article.php b/Models/Article.php index 5895d57..68fc041 100644 --- a/Models/Article.php +++ b/Models/Article.php @@ -34,7 +34,7 @@ class Article implements Multition /** * Article ID. * - * @var \int + * @var int * @since 1.0.0 */ private $id = null; @@ -42,7 +42,7 @@ class Article implements Multition /** * Name. * - * @var \string + * @var string * @since 1.0.0 */ private $name = ''; @@ -50,7 +50,7 @@ class Article implements Multition /** * Description. * - * @var \string + * @var string * @since 1.0.0 */ private $description = ''; @@ -58,7 +58,7 @@ class Article implements Multition /** * Matchcode. * - * @var \string + * @var string * @since 1.0.0 */ private $matchcode = ''; @@ -66,7 +66,7 @@ class Article implements Multition /** * Sector. * - * @var \string + * @var string * @since 1.0.0 */ private $sector = null; @@ -74,7 +74,7 @@ class Article implements Multition /** * Group. * - * @var \string + * @var string * @since 1.0.0 */ private $group = null; @@ -84,7 +84,7 @@ class Article implements Multition * * supplier price leadtime * - * @var \string + * @var string * @since 1.0.0 */ private $suppliers = null; @@ -112,7 +112,7 @@ class Article implements Multition /** * Active supplier. * - * @var \string + * @var string * @since 1.0.0 */ private $pprice = null; @@ -144,7 +144,7 @@ class Article implements Multition /** * Constructor. * - * @param \int $id Article ID + * @param int $id Article ID * * @since 1.0.0 * @author Dennis Eichhorn @@ -171,7 +171,7 @@ class Article implements Multition /** * Initializing object. * - * @param \int $id Article ID + * @param int $id Article ID * * @return \Modules\Warehousing\Models\Article * @@ -190,7 +190,7 @@ class Article implements Multition /** * Get ID. * - * @return \int + * @return int * * @since 1.0.0 * @author Dennis Eichhorn @@ -203,7 +203,7 @@ class Article implements Multition /** * Get name. * - * @return \string + * @return string * * @since 1.0.0 * @author Dennis Eichhorn @@ -216,7 +216,7 @@ class Article implements Multition /** * Set name. * - * @param \string $name Name of the article + * @param string $name Name of the article * * @return void * @@ -231,7 +231,7 @@ class Article implements Multition /** * Get matchcode. * - * @return \string + * @return string * * @since 1.0.0 * @author Dennis Eichhorn @@ -244,7 +244,7 @@ class Article implements Multition /** * Set matchcode. * - * @param \string $matchcode Matchcode of the article + * @param string $matchcode Matchcode of the article * * @return void * @@ -259,7 +259,7 @@ class Article implements Multition /** * Get description. * - * @return \string + * @return string * * @since 1.0.0 * @author Dennis Eichhorn @@ -272,7 +272,7 @@ class Article implements Multition /** * Set description. * - * @param \string $desc Description of the article + * @param string $desc Description of the article * * @return void * @@ -344,7 +344,7 @@ class Article implements Multition * Add price to pricelist. * * @param array $price Price - * @param \bool $db Update DB and cache? + * @param bool $db Update DB and cache? * * @return void * @@ -360,8 +360,8 @@ class Article implements Multition /** * Remove price from pricelist. * - * @param \int $id Price ID - * @param \bool $db Update DB and cache? + * @param int $id Price ID + * @param bool $db Update DB and cache? * * @return void * @@ -378,9 +378,9 @@ class Article implements Multition /** * Add price to pricelist. * - * @param \int $id Price ID + * @param int $id Price ID * @param array $price Price - * @param \bool $db Update DB and cache? + * @param bool $db Update DB and cache? * * @return void * diff --git a/Models/Shipping.php b/Models/Shipping.php index 0e8b027..f8bb7e3 100644 --- a/Models/Shipping.php +++ b/Models/Shipping.php @@ -34,7 +34,7 @@ class Shipping implements Multition /** * ID. * - * @var \int + * @var int * @since 1.0.0 */ private $id = 0; @@ -42,7 +42,7 @@ class Shipping implements Multition /** * Order. * - * @var \int + * @var int * @since 1.0.0 */ private $order = ''; @@ -58,7 +58,7 @@ class Shipping implements Multition /** * Warehouse. * - * @var \int + * @var int * @since 1.0.0 */ private $warehouse = ''; @@ -74,7 +74,7 @@ class Shipping implements Multition /** * Person who sent the delivery. * - * @var \int + * @var int * @since 1.0.0 */ private $sender = null; @@ -98,7 +98,7 @@ class Shipping implements Multition /** * Constructor. * - * @param \int $id Article ID + * @param int $id Article ID * * @since 1.0.0 * @author Dennis Eichhorn @@ -111,7 +111,7 @@ class Shipping implements Multition /** * Initializing object. * - * @param \int $id Article ID + * @param int $id Article ID * * @return \Modules\Warehousing\Models\Article * @@ -144,7 +144,7 @@ class Shipping implements Multition /** * Get ID. * - * @return \int + * @return int * * @since 1.0.0 * @author Dennis Eichhorn @@ -157,7 +157,7 @@ class Shipping implements Multition /** * Get order. * - * @return \int + * @return int * * @since 1.0.0 * @author Dennis Eichhorn @@ -170,7 +170,7 @@ class Shipping implements Multition /** * Set order. * - * @param \int $order Order ID + * @param int $order Order ID * * @return void * @@ -282,7 +282,7 @@ class Shipping implements Multition /** * Get acceptor. * - * @return \int + * @return int * * @since 1.0.0 * @author Dennis Eichhorn @@ -295,7 +295,7 @@ class Shipping implements Multition /** * Set sender. * - * @param \int $sender Person who accepted the consignment + * @param int $sender Person who accepted the consignment * * @return void * diff --git a/Models/Warehouse.php b/Models/Warehouse.php index 98340ba..8d5fa3b 100644 --- a/Models/Warehouse.php +++ b/Models/Warehouse.php @@ -34,7 +34,7 @@ class Warehouse implements Multition /** * Name. * - * @var \string + * @var string * @since 1.0.0 */ private $name = ''; @@ -42,7 +42,7 @@ class Warehouse implements Multition /** * Description. * - * @var \string + * @var string * @since 1.0.0 */ private $description = ''; @@ -66,7 +66,7 @@ class Warehouse implements Multition /** * Constructor. * - * @param \int $id Warehouse ID + * @param int $id Warehouse ID * * @since 1.0.0 * @author Dennis Eichhorn @@ -79,7 +79,7 @@ class Warehouse implements Multition /** * Initializing object. * - * @param \int $id Warehouse ID + * @param int $id Warehouse ID * * @return \Modules\Warehousing\Models\Warehouse * @@ -112,7 +112,7 @@ class Warehouse implements Multition /** * Get ID. * - * @return \int + * @return int * * @since 1.0.0 * @author Dennis Eichhorn @@ -125,7 +125,7 @@ class Warehouse implements Multition /** * Get name. * - * @return \string + * @return string * * @since 1.0.0 * @author Dennis Eichhorn @@ -138,7 +138,7 @@ class Warehouse implements Multition /** * Set name. * - * @param \string $name Name of the article + * @param string $name Name of the article * * @return void * @@ -153,7 +153,7 @@ class Warehouse implements Multition /** * Get name. * - * @return \string + * @return string * * @since 1.0.0 * @author Dennis Eichhorn @@ -166,7 +166,7 @@ class Warehouse implements Multition /** * Set name. * - * @param \string $description Description of the warehouse + * @param string $description Description of the warehouse * * @return void *