Automated formatting changes

This commit is contained in:
Formatter Bot 2020-10-21 21:09:59 +00:00
parent 5a6bbcdd62
commit 2f77934c25
2 changed files with 9 additions and 9 deletions

View File

@ -53,11 +53,11 @@ final class ReportMapper extends DataMapperAbstract
*/ */
protected static array $ownsOne = [ protected static array $ownsOne = [
'source' => [ 'source' => [
'mapper' => \Modules\Media\Models\CollectionMapper::class, 'mapper' => \Modules\Media\Models\CollectionMapper::class,
'external' => 'helper_report_media', 'external' => 'helper_report_media',
], ],
'template' => [ 'template' => [
'mapper' => TemplateMapper::class, 'mapper' => TemplateMapper::class,
'external' => 'helper_report_template', 'external' => 'helper_report_template',
], ],
]; ];
@ -70,7 +70,7 @@ final class ReportMapper extends DataMapperAbstract
*/ */
protected static array $belongsTo = [ protected static array $belongsTo = [
'createdBy' => [ 'createdBy' => [
'mapper' => AccountMapper::class, 'mapper' => AccountMapper::class,
'external' => 'helper_report_creator', 'external' => 'helper_report_creator',
], ],
]; ];

View File

@ -59,7 +59,7 @@ final class TemplateMapper extends DataMapperAbstract
*/ */
protected static array $ownsOne = [ protected static array $ownsOne = [
'source' => [ 'source' => [
'mapper' => CollectionMapper::class, 'mapper' => CollectionMapper::class,
'external' => 'helper_template_media', 'external' => 'helper_template_media',
], ],
]; ];
@ -72,11 +72,11 @@ final class TemplateMapper extends DataMapperAbstract
*/ */
protected static array $belongsTo = [ protected static array $belongsTo = [
'createdBy' => [ 'createdBy' => [
'mapper' => AccountMapper::class, 'mapper' => AccountMapper::class,
'external' => 'helper_template_creator', 'external' => 'helper_template_creator',
], ],
'unit' => [ 'unit' => [
'mapper' => UnitMapper::class, 'mapper' => UnitMapper::class,
'external' => 'helper_template_unit', 'external' => 'helper_template_unit',
], ],
]; ];
@ -89,9 +89,9 @@ final class TemplateMapper extends DataMapperAbstract
*/ */
protected static array $hasMany = [ protected static array $hasMany = [
'reports' => [ 'reports' => [
'mapper' => ReportMapper::class, 'mapper' => ReportMapper::class,
'table' => 'helper_report', 'table' => 'helper_report',
'self' => 'helper_report_template', 'self' => 'helper_report_template',
'external' => null, 'external' => null,
], ],
'tags' => [ 'tags' => [