Move ProfileFieldRepository::migrateFromLegacyProfile() & delete old repository

This commit is contained in:
Philipp 2021-10-10 20:54:29 +02:00
parent f403851946
commit 838cdac5d1
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
9 changed files with 93 additions and 166 deletions

View file

@ -452,15 +452,7 @@ abstract class DI
return self::$dice->create(Security\PermissionSet\Factory\PermissionSet::class);
}
/**
* @return Repository\ProfileField
*/
public static function profileField()
{
return self::$dice->create(Repository\ProfileField::class);
}
public static function profileFieldNew(): Profile\ProfileField\Depository\ProfileField
public static function profileField(): Profile\ProfileField\Depository\ProfileField
{
return self::$dice->create(Profile\ProfileField\Depository\ProfileField::class);
}