From c5b49f0d4cd23252b5a4948cf9b66bace9307918 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/SupplierMapper.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index cabae68..21c2f31 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/SupplierMapper.php b/Models/SupplierMapper.php index 6bbbdbe..cd0cbbc 100644 --- a/Models/SupplierMapper.php +++ b/Models/SupplierMapper.php @@ -29,7 +29,7 @@ class SupplierMapper extends DataMapperAbstract /** * Columns. * - * @var array + * @var array> * @since 1.0.0 */ protected static $columns = [ @@ -71,7 +71,7 @@ class SupplierMapper extends DataMapperAbstract /** * Has one relation. * - * @var array + * @var array> * @since 1.0.0 */ protected static $ownsOne = [