From 43eaa16fcb4af46434b37a63f0f76cd4c122cb43 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 1 Mar 2017 14:05:29 +0100 Subject: [PATCH] Strict types enabled --- Admin/Activate.php | 2 +- Admin/Deactivate.php | 2 +- Admin/Install/Navigation.php | 1 + Admin/Installer.php | 1 + Admin/Uninstall.php | 2 +- Admin/Update.php | 2 +- Controller.php | 1 + Models/Arrival.php | 1 + Models/ArrivalStatus.php | 1 + Models/CountingList.php | 1 + Models/PackagingStatus.php | 1 + Models/Shipping.php | 1 + Models/Warehouse.php | 1 + 13 files changed, 13 insertions(+), 4 deletions(-) diff --git a/Admin/Activate.php b/Admin/Activate.php index 0bc8518..f4f6ad3 100644 --- a/Admin/Activate.php +++ b/Admin/Activate.php @@ -13,9 +13,9 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\WarehouseManagement\Admin; - use phpOMS\DataStorage\Database\DatabasePool; use phpOMS\Module\ActivateAbstract; use phpOMS\Module\InfoManager; diff --git a/Admin/Deactivate.php b/Admin/Deactivate.php index bc5eb26..b6c07c8 100644 --- a/Admin/Deactivate.php +++ b/Admin/Deactivate.php @@ -13,9 +13,9 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\WarehouseManagement\Admin; - use phpOMS\DataStorage\Database\DatabasePool; use phpOMS\Module\DeactivateAbstract; use phpOMS\Module\InfoManager; diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index 637a998..ec384ee 100644 --- a/Admin/Install/Navigation.php +++ b/Admin/Install/Navigation.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\WarehouseManagement\Admin\Install; use phpOMS\DataStorage\Database\DatabasePool; diff --git a/Admin/Installer.php b/Admin/Installer.php index 0f184aa..7bcf3fc 100644 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\WarehouseManagement\Admin; use phpOMS\DataStorage\Database\DatabaseType; diff --git a/Admin/Uninstall.php b/Admin/Uninstall.php index 2ccf5c6..282106d 100644 --- a/Admin/Uninstall.php +++ b/Admin/Uninstall.php @@ -13,9 +13,9 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\WarehouseManagement\Admin; - use phpOMS\DataStorage\Database\DatabasePool; use phpOMS\DataStorage\Database\Schema\Builder; use phpOMS\Module\UninstallAbstract; diff --git a/Admin/Update.php b/Admin/Update.php index 7e6af8f..8a3a9b4 100644 --- a/Admin/Update.php +++ b/Admin/Update.php @@ -13,9 +13,9 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\WarehouseManagement\Admin; - use phpOMS\DataStorage\Database\DatabasePool; use phpOMS\Module\UpdateAbstract; use phpOMS\System\File\Directory; diff --git a/Controller.php b/Controller.php index 48dc60d..8eb54c1 100644 --- a/Controller.php +++ b/Controller.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\WarehouseManagement; use Modules\Navigation\Models\Navigation; diff --git a/Models/Arrival.php b/Models/Arrival.php index 3550f02..6fef1ab 100644 --- a/Models/Arrival.php +++ b/Models/Arrival.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Warehousing\Models; use phpOMS\Pattern\Multition; diff --git a/Models/ArrivalStatus.php b/Models/ArrivalStatus.php index f90640b..bbc6505 100644 --- a/Models/ArrivalStatus.php +++ b/Models/ArrivalStatus.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Warehousing\Models; use phpOMS\Datatypes\Enum; diff --git a/Models/CountingList.php b/Models/CountingList.php index 0b72ad7..b954356 100644 --- a/Models/CountingList.php +++ b/Models/CountingList.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Warehousing\Models; /** diff --git a/Models/PackagingStatus.php b/Models/PackagingStatus.php index 447b374..6014bf3 100644 --- a/Models/PackagingStatus.php +++ b/Models/PackagingStatus.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Warehousing\Models; use phpOMS\Datatypes\Enum; diff --git a/Models/Shipping.php b/Models/Shipping.php index 6b97357..991790b 100644 --- a/Models/Shipping.php +++ b/Models/Shipping.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Warehousing\Models; use phpOMS\Pattern\Multition; diff --git a/Models/Warehouse.php b/Models/Warehouse.php index 47a697d..60ee8e5 100644 --- a/Models/Warehouse.php +++ b/Models/Warehouse.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Warehousing\Models; use phpOMS\Pattern\Multition;