Automated formatting changes

This commit is contained in:
Formatter Bot 2020-10-21 20:33:57 +00:00
parent c2334057b3
commit 7968f39f10

View File

@ -46,14 +46,14 @@ class BaseModelMapper extends DataMapperAbstract
*/ */
protected static array $belongsTo = [ protected static array $belongsTo = [
'belongsToOne' => [ 'belongsToOne' => [
'mapper' => BelongsToModelMapper::class, 'mapper' => BelongsToModelMapper::class,
'external' => 'test_base_belongs_to_one', 'external' => 'test_base_belongs_to_one',
], ],
]; ];
protected static array $ownsOne = [ protected static array $ownsOne = [
'ownsOneSelf' => [ 'ownsOneSelf' => [
'mapper' => OwnsOneModelMapper::class, 'mapper' => OwnsOneModelMapper::class,
'external' => 'test_base_owns_one_self', 'external' => 'test_base_owns_one_self',
], ],
]; ];
@ -66,9 +66,9 @@ class BaseModelMapper extends DataMapperAbstract
*/ */
protected static array $hasMany = [ protected static array $hasMany = [
'hasManyDirect' => [ 'hasManyDirect' => [
'mapper' => ManyToManyDirectModelMapper::class, 'mapper' => ManyToManyDirectModelMapper::class,
'table' => 'test_has_many_direct', 'table' => 'test_has_many_direct',
'self' => 'test_has_many_direct_to', 'self' => 'test_has_many_direct_to',
'external' => null, 'external' => null,
], ],
'hasManyRelations' => [ 'hasManyRelations' => [
@ -78,11 +78,11 @@ class BaseModelMapper extends DataMapperAbstract
'self' => 'test_has_many_rel_relations_dest', 'self' => 'test_has_many_rel_relations_dest',
], ],
'conditional' => [ 'conditional' => [
'mapper' => ConditionalMapper::class, 'mapper' => ConditionalMapper::class,
'table' => 'test_conditional', 'table' => 'test_conditional',
'self' => 'test_conditional_base', 'self' => 'test_conditional_base',
'column' => 'title', 'column' => 'title',
'conditional' => true, 'conditional' => true,
'external' => null, 'external' => null,
], ],
]; ];