mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
cs: Enable a couple of risky rules.
This commit is contained in:
@@ -353,8 +353,8 @@ class User implements AdvancedUserInterface
|
||||
public function removeGroupCenter(GroupCenter $groupCenter)
|
||||
{
|
||||
if ($this->groupCenters->removeElement($groupCenter) === false) {
|
||||
throw new RuntimeException(sprintf('The groupCenter could not be removed, '
|
||||
. 'it seems not to be associated with the user. Aborting.'));
|
||||
throw new RuntimeException('The groupCenter could not be removed, '
|
||||
. 'it seems not to be associated with the user. Aborting.');
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user