mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 15:43:51 +00:00
DX: rector rules upt to PHP 74
This commit is contained in:
@@ -291,9 +291,7 @@ class EntityWorkflowStep
|
||||
|
||||
public function removeDestEmail(string $email): self
|
||||
{
|
||||
$this->destEmail = array_filter($this->destEmail, static function (string $existing) use ($email) {
|
||||
return $email !== $existing;
|
||||
});
|
||||
$this->destEmail = array_filter($this->destEmail, static fn(string $existing) => $email !== $existing);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user