Use root namespace

This commit is contained in:
Dennis Eichhorn 2018-05-30 13:39:00 +02:00
parent ea12a7a3d3
commit 8c91e73c71
4 changed files with 6 additions and 6 deletions

View File

@ -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 */

View File

@ -41,7 +41,7 @@ class CalendarMapper extends DataMapperAbstract
/**
* Columns.
*
* @var array
* @var array<string, array<string, string>>
* @since 1.0.0
*/
protected static $columns = [
@ -54,7 +54,7 @@ class CalendarMapper extends DataMapperAbstract
/**
* Has many relation.
*
* @var array
* @var array<string, array<string, string|null>>
* @since 1.0.0
*/
protected static $hasMany = [

View File

@ -33,7 +33,7 @@ class EventMapper extends DataMapperAbstract
/**
* Columns.
*
* @var array
* @var array<string, array<string, string>>
* @since 1.0.0
*/
protected static $columns = [
@ -52,7 +52,7 @@ class EventMapper extends DataMapperAbstract
/**
* Has one relation.
*
* @var array
* @var array<string, array<string, string>>
* @since 1.0.0
*/
protected static $ownsOne = [

View File

@ -33,7 +33,7 @@ class ScheduleMapper extends DataMapperAbstract
/**
* Columns.
*
* @var array
* @var array<string, array<string, string>>
* @since 1.0.0
*/
protected static $columns = [