mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-30 10:29:42 +00:00
Remove unused dependency on DefaultVoter (+ fix when throwing an exception)
This commit is contained in:
@@ -41,9 +41,11 @@ class DefaultScopeResolver implements ScopeResolverInterface
|
||||
}
|
||||
|
||||
throw new UnexpectedValueException(
|
||||
'should be an instanceof %s or %s',
|
||||
HasScopesInterface::class,
|
||||
HasScopeInterface::class
|
||||
sprintf(
|
||||
'should be an instanceof %s or %s',
|
||||
HasScopesInterface::class,
|
||||
HasScopeInterface::class
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user