mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
DX: fix cs
This commit is contained in:
@@ -121,7 +121,7 @@ class PermissionsGroup
|
||||
public function isRoleScopePresentOnce(ExecutionContextInterface $context)
|
||||
{
|
||||
$roleScopesId = array_map(
|
||||
static fn(RoleScope $roleScope) => $roleScope->getId(),
|
||||
static fn (RoleScope $roleScope) => $roleScope->getId(),
|
||||
$this->getRoleScopes()->toArray()
|
||||
);
|
||||
$countedIds = array_count_values($roleScopesId);
|
||||
|
@@ -291,7 +291,7 @@ class EntityWorkflowStep
|
||||
|
||||
public function removeDestEmail(string $email): self
|
||||
{
|
||||
$this->destEmail = array_filter($this->destEmail, static fn(string $existing) => $email !== $existing);
|
||||
$this->destEmail = array_filter($this->destEmail, static fn (string $existing) => $email !== $existing);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user