diff --git a/composer.json b/composer.json index 20d4bdd..0105766 100644 --- a/composer.json +++ b/composer.json @@ -8,8 +8,8 @@ "symfony/workflow": "^3.3 | ^4.0", "symfony/process": "^3.3 | ^4.0", "symfony/event-dispatcher": "^3.3 | ^4.0", - "illuminate/console": "5.3.* | 5.4.* | 5.5.*", - "illuminate/support": "5.3.* | 5.4.* | 5.5.*" + "illuminate/console": "5.3.* | 5.4.* | 5.5.* | 5.6.*", + "illuminate/support": "5.3.* | 5.4.* | 5.5.* | 5.6.*" }, "autoload": { "psr-4": { diff --git a/src/WorkflowRegistry.php b/src/WorkflowRegistry.php index ba4f0cc..8c89680 100644 --- a/src/WorkflowRegistry.php +++ b/src/WorkflowRegistry.php @@ -83,7 +83,7 @@ public function get($subject, $workflowName = null) */ public function add(Workflow $workflow, $supportStrategy) { - return $this->registry->add($workflow, new ClassInstanceSupportStrategy($supportStrategy)); + return $this->registry->addWorkflow($workflow, new ClassInstanceSupportStrategy($supportStrategy)); } /**