Use root namespace

This commit is contained in:
Dennis Eichhorn 2018-05-30 13:39:00 +02:00
parent 78c520b6c8
commit ca746facb0
5 changed files with 7 additions and 7 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

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

View File

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

View File

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

View File

@ -33,7 +33,7 @@ class QAQuestionMapper extends DataMapperAbstract
/**
* Columns.
*
* @var array
* @var array<string, array<string, string>>
* @since 1.0.0
*/
protected static $columns = [
@ -50,7 +50,7 @@ class QAQuestionMapper extends DataMapperAbstract
/**
* Has many relation.
*
* @var array
* @var array<string, array<string, string|null>>
* @since 1.0.0
*/
protected static $hasMany = [
@ -71,7 +71,7 @@ class QAQuestionMapper extends DataMapperAbstract
/**
* Has many relation.
*
* @var array
* @var array<string, array<string, string|null>>
* @since 1.0.0
*/
protected static $ownsOne = [