Re-format mappers

This commit is contained in:
Dennis Eichhorn 2018-05-31 19:47:26 +02:00
parent 8c91e73c71
commit 412b6e8b84

View File

@ -9,7 +9,7 @@
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link http://website.orange-management.de * @link http://website.orange-management.de
* @todo only load events of 3 month or 1 year?! * @todo only load events of 3 month or 1 year?!
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -59,10 +59,10 @@ class CalendarMapper extends DataMapperAbstract
*/ */
protected static $hasMany = [ protected static $hasMany = [
'events' => [ 'events' => [
'mapper' => EventMapper::class, 'mapper' => EventMapper::class,
'table' => 'calendar_event', 'table' => 'calendar_event',
'dst' => 'calendar_event_calendar', 'dst' => 'calendar_event_calendar',
'src' => null, 'src' => null,
], ],
]; ];