Use global namespace+minor fixes

This commit is contained in:
Dennis Eichhorn 2019-02-04 22:29:55 +01:00
parent de30ad2568
commit e169fb66ce
4 changed files with 14 additions and 1 deletions

View File

@ -51,6 +51,11 @@ final class AccountMapper extends DataMapperAbstract
];
/**
* Has many relation.
*
* @var array<string, array<string, string>>
* @since 1.0.0
*/ /**
* Has many relation.
*
* @var array<string, array<string, string>>

View File

@ -81,7 +81,7 @@ class Group extends \phpOMS\Account\Group
/**
* Get created by.
*
* @return mixed
* @return int|\phpOMS\Account\Account
*
* @since 1.0.0
*/

View File

@ -67,6 +67,11 @@ final class GroupMapper extends DataMapperAbstract
protected static $createdAt = 'group_created';
/**
* Has many relation.
*
* @var array<string, array<string, string>>
* @since 1.0.0
*/ /**
* Has many relation.
*
* @var array<string, array<string, string>>

View File

@ -199,6 +199,9 @@ class Module
*
* @since 1.0.0
*/
/**
* {@inheritdoc}
*/
public function jsonSerialize()
{
return $this->toArray();