Skip to content

Commit d5b6ebd

Browse files
committed
Fix auto discover issue
1 parent 7f4d715 commit d5b6ebd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
File renamed without changes.

src/WorkflowServiceProvider.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,16 @@ public function boot()
3232
*/
3333
public function register()
3434
{
35+
$this->mergeConfigFrom(
36+
__DIR__.'/../config/workflow.php',
37+
'workflow'
38+
);
39+
3540
$this->commands($this->commands);
3641

3742
$this->app->singleton(
3843
'workflow', function ($app) {
39-
return new WorkflowRegistry($app['config']['workflow']);
44+
return new WorkflowRegistry($app['config']->get('workflow'));
4045
}
4146
);
4247
}

0 commit comments

Comments
 (0)