diff --git a/Admin/Activate.php b/Admin/Activate.php index 8579b78..f316e0c 100644 --- a/Admin/Activate.php +++ b/Admin/Activate.php @@ -11,7 +11,7 @@ * @version 1.0.0 * @link http://orange-management.com */ -declare(strict_types=1); +declare(strict_types = 1); namespace Modules\Navigation\Admin; use phpOMS\DataStorage\Database\DatabasePool; diff --git a/Admin/Deactivate.php b/Admin/Deactivate.php index 1c87d7d..5e9221d 100644 --- a/Admin/Deactivate.php +++ b/Admin/Deactivate.php @@ -11,7 +11,7 @@ * @version 1.0.0 * @link http://orange-management.com */ -declare(strict_types=1); +declare(strict_types = 1); namespace Modules\Navigation\Admin; use phpOMS\DataStorage\Database\DatabasePool; diff --git a/Admin/Installer.php b/Admin/Installer.php index 6d0a620..c545beb 100644 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -11,7 +11,7 @@ * @version 1.0.0 * @link http://orange-management.com */ -declare(strict_types=1); +declare(strict_types = 1); namespace Modules\Navigation\Admin; use phpOMS\DataStorage\Database\DatabaseType; diff --git a/Admin/Uninstall.php b/Admin/Uninstall.php index 00c92a5..cb0a035 100644 --- a/Admin/Uninstall.php +++ b/Admin/Uninstall.php @@ -11,7 +11,7 @@ * @version 1.0.0 * @link http://orange-management.com */ -declare(strict_types=1); +declare(strict_types = 1); namespace Modules\Navigation\Admin; use phpOMS\DataStorage\Database\DatabasePool; diff --git a/Admin/Update.php b/Admin/Update.php index f1bf973..d0ce691 100644 --- a/Admin/Update.php +++ b/Admin/Update.php @@ -11,7 +11,7 @@ * @version 1.0.0 * @link http://orange-management.com */ -declare(strict_types=1); +declare(strict_types = 1); namespace Modules\Navigation\Admin; use phpOMS\DataStorage\Database\DatabasePool; diff --git a/Controller.php b/Controller.php index 2a352c7..303ba7f 100644 --- a/Controller.php +++ b/Controller.php @@ -11,7 +11,7 @@ * @version 1.0.0 * @link http://orange-management.com */ -declare(strict_types=1); +declare(strict_types = 1); namespace Modules\Navigation; use Modules\Navigation\Models\Navigation; @@ -126,7 +126,7 @@ class Controller extends ModuleAbstract implements WebInterface $nav->setLanguage($request->getHeader()->getL11n()->getLanguage()); $unread = []; - foreach($this->receiving as $receiving) { + foreach ($this->receiving as $receiving) { $unread[$receiving] = $this->app->moduleManager->get($receiving)->openNav($request->getHeader()->getAccount()); } diff --git a/Models/LinkType.php b/Models/LinkType.php index 0dee590..2979efa 100644 --- a/Models/LinkType.php +++ b/Models/LinkType.php @@ -11,7 +11,7 @@ * @version 1.0.0 * @link http://orange-management.com */ -declare(strict_types=1); +declare(strict_types = 1); namespace Modules\Navigation\Models; use phpOMS\Stdlib\Base\Enum; diff --git a/Models/Navigation.php b/Models/Navigation.php index 963376a..2472f80 100644 --- a/Models/Navigation.php +++ b/Models/Navigation.php @@ -11,7 +11,7 @@ * @version 1.0.0 * @link http://orange-management.com */ -declare(strict_types=1); +declare(strict_types = 1); namespace Modules\Navigation\Models; use phpOMS\DataStorage\Database\DatabasePool; @@ -123,7 +123,7 @@ class Navigation public static function getInstance(RequestAbstract $request = null, DatabasePool $dbPool = null) { if (!isset(self::$instance)) { - if(!isset($request) || !isset($dbPool)) { + if (!isset($request) || !isset($dbPool)) { throw new \Exception('Invalid parameters'); } diff --git a/Models/NavigationType.php b/Models/NavigationType.php index bd2c2fa..ed279eb 100644 --- a/Models/NavigationType.php +++ b/Models/NavigationType.php @@ -11,7 +11,7 @@ * @version 1.0.0 * @link http://orange-management.com */ -declare(strict_types=1); +declare(strict_types = 1); namespace Modules\Navigation\Models; use phpOMS\Stdlib\Base\Enum; diff --git a/Theme/Backend/top.tpl.php b/Theme/Backend/top.tpl.php index cda88e1..1a65804 100644 --- a/Theme/Backend/top.tpl.php +++ b/Theme/Backend/top.tpl.php @@ -23,7 +23,7 @@ if (isset($this->nav[\Modules\Navigation\Models\NavigationType::TOP])): ?>