src/Controller/Api/Magazine/Moderate/MagazineUserBanApi.php
Method ban
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
#[MapEntity(id: 'magazine_id')]
Magazine $magazine,
#[MapEntity(id: 'user_id')]
User $user,
MagazineBan $magazineBan,
Method unban
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
#[MapEntity(id: 'magazine_id')]
Magazine $magazine,
#[MapEntity(id: 'user_id')]
User $user,
MagazineUnban $magazineUnban,