added internal rates (#1591)
This commit is contained in:
@@ -67,7 +67,7 @@ final class UserPreferenceEvent extends Event
|
||||
foreach ($this->preferences as $pref) {
|
||||
if (strtolower($pref->getName()) === strtolower($preference->getName())) {
|
||||
throw new \InvalidArgumentException(
|
||||
'Cannot add preference, one with the name "' . $preference->getName() . '" is already existing'
|
||||
'Cannot add user preference, one with the name "' . $preference->getName() . '" is already existing'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user