mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
Fix cs
This commit is contained in:
parent
4d73f9b81a
commit
bf056046ab
@ -78,7 +78,7 @@ class WorkflowOnHoldController
|
|||||||
throw new AccessDeniedHttpException('You are not allowed to remove workflow on hold');
|
throw new AccessDeniedHttpException('You are not allowed to remove workflow on hold');
|
||||||
}
|
}
|
||||||
|
|
||||||
$hold = $entityWorkflowStep->getHoldsOnStep()->findFirst(fn(int $index, EntityWorkflowStepHold $entityWorkflowStepHold) => $user === $entityWorkflowStepHold->getByUser());
|
$hold = $entityWorkflowStep->getHoldsOnStep()->findFirst(fn (int $index, EntityWorkflowStepHold $entityWorkflowStepHold) => $user === $entityWorkflowStepHold->getByUser());
|
||||||
|
|
||||||
if (null === $hold) {
|
if (null === $hold) {
|
||||||
// this should not happens...
|
// this should not happens...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user