From 75bb2f6627217439233221c91bf2bac9bde91aad Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 26 Feb 2019 00:00:31 +0100 Subject: [PATCH] Mapper/Module/Schema fixes thanks to new tests --- Models/ProfileMapper.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Models/ProfileMapper.php b/Models/ProfileMapper.php index a060ae1..e937d13 100644 --- a/Models/ProfileMapper.php +++ b/Models/ProfileMapper.php @@ -31,13 +31,13 @@ final class ProfileMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static $columns = [ 'profile_account_id' => ['name' => 'profile_account_id', 'type' => 'int', 'internal' => 'id'], - 'profile_account_image' => ['name' => 'profile_account_image', 'type' => 'int', 'internal' => 'image'], - 'profile_account_birthday' => ['name' => 'profile_account_birthday', 'type' => 'DateTime', 'internal' => 'birthday'], + 'profile_account_image' => ['name' => 'profile_account_image', 'type' => 'int', 'internal' => 'image', 'annotations' => ['gdpr' => true]], + 'profile_account_birthday' => ['name' => 'profile_account_birthday', 'type' => 'DateTime', 'internal' => 'birthday', 'annotations' => ['gdpr' => true]], 'profile_account_account' => ['name' => 'profile_account_account', 'type' => 'int', 'internal' => 'account'], ];