mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 02:23:51 +00:00
Improve type declaration
This commit is contained in:
@@ -32,6 +32,11 @@ final readonly class ScopeResolverDispatcher
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $entity
|
||||
* @param array|null $options
|
||||
* @return iterable<Scope>|Scope|null
|
||||
*/
|
||||
public function resolveScope(mixed $entity, ?array $options = []): iterable|\Chill\MainBundle\Entity\Scope|null
|
||||
{
|
||||
foreach ($this->resolvers as $resolver) {
|
||||
|
Reference in New Issue
Block a user