We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d7731b commit 092d0d1Copy full SHA for 092d0d1
Registry.php
@@ -29,7 +29,7 @@ public function addWorkflow(WorkflowInterface $workflow, WorkflowSupportStrategy
29
30
public function has(object $subject, string $workflowName = null): bool
31
{
32
- foreach ($this->workflows as list($workflow, $supportStrategy)) {
+ foreach ($this->workflows as [$workflow, $supportStrategy]) {
33
if ($this->supports($workflow, $supportStrategy, $subject, $workflowName)) {
34
return true;
35
}
0 commit comments