mirror of
https://github.com/Karaka-Management/oms-WarehouseManagement.git
synced 2026-02-09 19:28:39 +00:00
Remove namespace from scalars
This commit is contained in:
parent
c6d9020f3d
commit
87fa717578
|
|
@ -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 <d.eichhorn@oms.com>
|
||||
*/
|
||||
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);
|
||||
|
|
|
|||
|
|
@ -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 <d.eichhorn@oms.com>
|
||||
|
|
@ -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 <d.eichhorn@oms.com>
|
||||
|
|
@ -187,7 +187,7 @@ class Arrival implements Multition
|
|||
/**
|
||||
* Get order.
|
||||
*
|
||||
* @return \int
|
||||
* @return int
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
|
|
@ -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 <d.eichhorn@oms.com>
|
||||
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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 <d.eichhorn@oms.com>
|
||||
|
|
@ -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 <d.eichhorn@oms.com>
|
||||
|
|
@ -203,7 +203,7 @@ class Article implements Multition
|
|||
/**
|
||||
* Get name.
|
||||
*
|
||||
* @return \string
|
||||
* @return string
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
|
|
@ -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 <d.eichhorn@oms.com>
|
||||
|
|
@ -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 <d.eichhorn@oms.com>
|
||||
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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 <d.eichhorn@oms.com>
|
||||
|
|
@ -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 <d.eichhorn@oms.com>
|
||||
|
|
@ -157,7 +157,7 @@ class Shipping implements Multition
|
|||
/**
|
||||
* Get order.
|
||||
*
|
||||
* @return \int
|
||||
* @return int
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
|
|
@ -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 <d.eichhorn@oms.com>
|
||||
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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 <d.eichhorn@oms.com>
|
||||
|
|
@ -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 <d.eichhorn@oms.com>
|
||||
|
|
@ -125,7 +125,7 @@ class Warehouse implements Multition
|
|||
/**
|
||||
* Get name.
|
||||
*
|
||||
* @return \string
|
||||
* @return string
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
|
|
@ -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 <d.eichhorn@oms.com>
|
||||
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user