From ff52c0ddba4d6cb24622696c9ad8b28a92347a93 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/ItemMapper.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index 6d738ec..f098cc8 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/ItemMapper.php b/Models/ItemMapper.php index 4f0f632..2630805 100644 --- a/Models/ItemMapper.php +++ b/Models/ItemMapper.php @@ -28,7 +28,7 @@ class ItemMapper extends DataMapperAbstract /** * Columns. * - * @var array + * @var array> * @since 1.0.0 */ protected static $columns = [