From 38587a291726bb10f8e5d69b7f6c8d0ff141995f 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/ClientMapper.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index 5e5289b..2f57672 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/ClientMapper.php b/Models/ClientMapper.php index 8d8e1aa..206288a 100644 --- a/Models/ClientMapper.php +++ b/Models/ClientMapper.php @@ -29,7 +29,7 @@ class ClientMapper extends DataMapperAbstract /** * Columns. * - * @var array + * @var array> * @since 1.0.0 */ protected static $columns = [ @@ -71,7 +71,7 @@ class ClientMapper extends DataMapperAbstract /** * Has one relation. * - * @var array + * @var array> * @since 1.0.0 */ protected static $ownsOne = [