Type and cs fixes

This commit is contained in:
Dennis Eichhorn 2020-03-07 00:23:17 +01:00
parent 0998148fc7
commit 4f1a645fb5
4 changed files with 6 additions and 5 deletions

View File

@ -54,7 +54,7 @@ final class AccountMapper extends DataMapperAbstract
/**
* Has one relation.
*
* @var array<string, array{mapper:string, self:string, by?:string}>
* @var array<string, array{mapper:string, self:string, by?:string, column?:string}>
* @since 1.0.0
*/
protected static array $ownsOne = [
@ -67,7 +67,7 @@ final class AccountMapper extends DataMapperAbstract
/**
* Has many relation.
*
* @var array<string, array{mapper:string, table:string, self?:?string, external?:?string}>
* @var array<string, array{mapper:string, table:string, self?:?string, external?:?string, column?:string}>
* @since 1.0.0
*/
protected static array $hasMany = [

View File

@ -68,7 +68,7 @@ final class GroupMapper extends DataMapperAbstract
/**
* Has many relation.
*
* @var array<string, array{mapper:string, table:string, self?:?string, external?:?string}>
* @var array<string, array{mapper:string, table:string, self?:?string, external?:?string, column?:string}>
* @since 1.0.0
*/
protected static array $hasMany = [

View File

@ -92,7 +92,7 @@ final class LocalizationMapper extends DataMapperAbstract
/**
* Has one relation.
*
* @var array<string, array{mapper:string, self:string, by?:string}>
* @var array<string, array{mapper:string, self:string, by?:string, column?:string}>
* @since 1.0.0
*/
protected static array $ownsOne = [

View File

@ -33,6 +33,7 @@ final class NullAccount extends Account
*/
public function __construct(int $id = 0)
{
parent::__construct($id);
parent::__construct();
$this->id = $id;
}
}