mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-30 10:29:42 +00:00
Fix cs
This commit is contained in:
@@ -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...
|
||||||
|
Reference in New Issue
Block a user