diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index 8d951f6..f748e26 100644 --- a/Admin/Install/Navigation.php +++ b/Admin/Install/Navigation.php @@ -36,7 +36,7 @@ class Navigation * * @since 1.0.0 */ - public static function install(string $path = null, DatabasePool $dbPool = null) : void + public static function install(string $path, DatabasePool $dbPool) : void { \Modules\Navigation\Admin\Installer::installExternal($dbPool, ['path' => __DIR__ . '/Navigation.install.json']); } diff --git a/Controller/BackendController.php b/Controller/BackendController.php index f66dcdd..d626333 100644 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -14,7 +14,6 @@ declare(strict_types=1); namespace Modules\WarehouseManagement\Controller; - /** * WarehouseManagement class. * diff --git a/Models/Arrival.php b/Models/Arrival.php index a01c45b..934d2f6 100644 --- a/Models/Arrival.php +++ b/Models/Arrival.php @@ -12,7 +12,7 @@ */ declare(strict_types=1); -namespace Modules\Warehousing\Models; +namespace Modules\WarehouseManagement\Models; /** * Warehouse class. @@ -60,7 +60,7 @@ class Arrival /** * Date of arrival. * - * @var \Datetime + * @var \DateTime * @since 1.0.0 */ private $date = null; @@ -150,7 +150,7 @@ class Arrival /** * Get date of when the consignment arrived. * - * @return \Datetime Date of arrival + * @return \DateTime Date of arrival * * @since 1.0.0 */ @@ -162,7 +162,7 @@ class Arrival /** * Set date of when the consignment arrived. * - * @param \Datetime $date Date of arrival + * @param \DateTime $date Date of arrival * * @return void * diff --git a/Models/ArrivalStatus.php b/Models/ArrivalStatus.php index 75b306b..febc060 100644 --- a/Models/ArrivalStatus.php +++ b/Models/ArrivalStatus.php @@ -12,7 +12,7 @@ */ declare(strict_types=1); -namespace Modules\Warehousing\Models; +namespace Modules\WarehouseManagement\Models; use phpOMS\Stdlib\Base\Enum; diff --git a/Models/Article.php b/Models/Article.php index 056aa61..bbcebca 100644 --- a/Models/Article.php +++ b/Models/Article.php @@ -10,7 +10,7 @@ * @version 1.0.0 * @link http://website.orange-management.de */ /* TODO: maybe make this a framework object? and let warehousing, sales, purchase extend this */ -namespace Modules\Warehousing\Models; +namespace Modules\WarehouseManagement\Models; /** * Article class. @@ -112,7 +112,7 @@ class Article /** * Created. * - * @var \Datetime + * @var \DateTime * @since 1.0.0 */ private $created = null; @@ -270,7 +270,7 @@ class Article /** * Get created. * - * @return \Datetime + * @return \DateTime * * @since 1.0.0 */ @@ -282,7 +282,7 @@ class Article /** * Set created. * - * @param \Datetime $created Date of when the article got created + * @param \DateTime $created Date of when the article got created * * @return void * diff --git a/Models/CountingList.php b/Models/CountingList.php index 1ad77cc..ca75e4f 100644 --- a/Models/CountingList.php +++ b/Models/CountingList.php @@ -12,7 +12,7 @@ */ declare(strict_types=1); -namespace Modules\Warehousing\Models; +namespace Modules\WarehouseManagement\Models; /** * Counting list class. diff --git a/Models/PackagingStatus.php b/Models/PackagingStatus.php index 10a9c7b..2879b20 100644 --- a/Models/PackagingStatus.php +++ b/Models/PackagingStatus.php @@ -12,7 +12,7 @@ */ declare(strict_types=1); -namespace Modules\Warehousing\Models; +namespace Modules\WarehouseManagement\Models; use phpOMS\Stdlib\Base\Enum; diff --git a/Models/Shipping.php b/Models/Shipping.php index da543ba..cb57400 100644 --- a/Models/Shipping.php +++ b/Models/Shipping.php @@ -12,7 +12,7 @@ */ declare(strict_types=1); -namespace Modules\Warehousing\Models; +namespace Modules\WarehouseManagement\Models; /** * Warehouse class. @@ -60,7 +60,7 @@ class Shipping /** * Date of arrival. * - * @var \Datetime + * @var \DateTime * @since 1.0.0 */ private $delivered = null; @@ -174,7 +174,7 @@ class Shipping /** * Get delivered. * - * @return \Datetime + * @return \DateTime * * @since 1.0.0 */ @@ -186,7 +186,7 @@ class Shipping /** * Set delivered. * - * @param \Datetime $delivered Date of delivery + * @param \DateTime $delivered Date of delivery * * @return void * diff --git a/Models/Warehouse.php b/Models/Warehouse.php index bc9a1f0..6de0d60 100644 --- a/Models/Warehouse.php +++ b/Models/Warehouse.php @@ -12,7 +12,7 @@ */ declare(strict_types=1); -namespace Modules\Warehousing\Models; +namespace Modules\WarehouseManagement\Models; /** * Warehouse class.