Skip to content

Commit e6931e6

Browse files
committed
fix: fix required parameter $eventSubscriber follows optional parameter $config
1 parent 649cf5d commit e6931e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Registry/WorkflowRegistry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ final class WorkflowRegistry implements WorkflowRegistryInterface
5656
* @param array $config
5757
* @param EventSubscriberInterface $eventSubscriber
5858
*/
59-
public function __construct(array $config = [], EventSubscriberInterface $eventSubscriber, ResourceRegistryInterface $resourceRegistry = null)
59+
public function __construct(array $config, EventSubscriberInterface $eventSubscriber, ResourceRegistryInterface $resourceRegistry = null)
6060
{
6161
$this->eventDispatcher = new EventDispatcher();
6262
$this->workflowRegistry = new Registry();

0 commit comments

Comments
 (0)