From 491640a9f5850d343bd22ebf35ea5db7b27e61a7 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 30 May 2018 13:39:00 +0200 Subject: [PATCH] Use root namespace --- Admin/Install/Navigation.php | 2 +- Models/PromotionMapper.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index f12e9b8..f7a469b 100644 --- a/Admin/Install/Navigation.php +++ b/Admin/Install/Navigation.php @@ -38,7 +38,7 @@ class Navigation */ public static function install(string $path = null, DatabasePool $dbPool = null) : void { - $navData = json_decode(file_get_contents(__DIR__ . '/Navigation.install.json'), true); + $navData = \json_decode(file_get_contents(__DIR__ . '/Navigation.install.json'), true); $class = '\\Modules\\Navigation\\Admin\\Installer'; /** @var $class \Modules\Navigation\Admin\Installer */ diff --git a/Models/PromotionMapper.php b/Models/PromotionMapper.php index b8796f9..1830bc2 100644 --- a/Models/PromotionMapper.php +++ b/Models/PromotionMapper.php @@ -36,7 +36,7 @@ class PromotionMapper extends DataMapperAbstract /** * Columns. * - * @var array + * @var array> * @since 1.0.0 */ protected static $columns = [ @@ -56,7 +56,7 @@ class PromotionMapper extends DataMapperAbstract /** * Has many relation. * - * @var array + * @var array> * @since 1.0.0 */ protected static $hasMany = [ @@ -77,7 +77,7 @@ class PromotionMapper extends DataMapperAbstract /** * Has one relation. * - * @var array + * @var array> * @since 1.0.0 */ protected static $ownsOne = [