diff --git a/src/Cloud/Handler/Workflow/DeclareWorkflowCommandHandler.php b/src/Cloud/Handler/Workflow/DeclareWorkflowCommandHandler.php index 1fe2d0b5..24df3982 100644 --- a/src/Cloud/Handler/Workflow/DeclareWorkflowCommandHandler.php +++ b/src/Cloud/Handler/Workflow/DeclareWorkflowCommandHandler.php @@ -27,6 +27,7 @@ public function __invoke(Cloud\Command\Workflow\DeclareWorkflowCommand $command) ->setAutoloads($command->composer->autoload()->map( fn (PSR4AutoloadConfig $autoloadConfig) => (new Api\Model\ComposerAutoload()) ->setNamespace($autoloadConfig->namespace) + ->setType('psr-4') ->setPaths($autoloadConfig->paths) )) ->setPackages($command->composer->packages()->transform())