From 0452852e74ab3ac18b4b1ad573273c8003849fa4 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/TicketMapper.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index 404f4a7..bb446b8 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/TicketMapper.php b/Models/TicketMapper.php index b03383b..758b888 100644 --- a/Models/TicketMapper.php +++ b/Models/TicketMapper.php @@ -35,7 +35,7 @@ class TicketMapper extends DataMapperAbstract /** * Columns. * - * @var array + * @var array> * @since 1.0.0 */ protected static $columns = [ @@ -46,7 +46,7 @@ class TicketMapper extends DataMapperAbstract /** * Has one relation. * - * @var array + * @var array> * @since 1.0.0 */ protected static $ownsOne = [