diff --git a/Models/Profile.php b/Models/Profile.php index c26e564..3413ed5 100755 --- a/Models/Profile.php +++ b/Models/Profile.php @@ -18,8 +18,8 @@ use Modules\Admin\Models\Account; use Modules\Admin\Models\NullAccount; use Modules\Media\Models\Media; use Modules\Media\Models\NullMedia; -use phpOMS\Stdlib\Base\Location; use phpOMS\Stdlib\Base\Exception\InvalidEnumValue; +use phpOMS\Stdlib\Base\Location; /** * Profile class. diff --git a/Models/ProfileMapper.php b/Models/ProfileMapper.php index dce8218..7186c39 100755 --- a/Models/ProfileMapper.php +++ b/Models/ProfileMapper.php @@ -39,8 +39,8 @@ final class ProfileMapper extends DataMapperAbstract 'profile_account_id' => ['name' => 'profile_account_id', 'type' => 'int', 'internal' => 'id'], '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_gender' => ['name' => 'profile_account_gender', 'type' => 'int', 'internal' => 'gender', 'annotations' => ['gdpr' => true]], - 'profile_account_sex' => ['name' => 'profile_account_sex', 'type' => 'int', 'internal' => 'sex', 'annotations' => ['gdpr' => true]], + 'profile_account_gender' => ['name' => 'profile_account_gender', 'type' => 'int', 'internal' => 'gender', 'annotations' => ['gdpr' => true]], + 'profile_account_sex' => ['name' => 'profile_account_sex', 'type' => 'int', 'internal' => 'sex', 'annotations' => ['gdpr' => true]], 'profile_account_account' => ['name' => 'profile_account_account', 'type' => 'int', 'internal' => 'account'], ];