From 0297e5c5da9b688a6363d7dd750b52b47f3cbc9c Mon Sep 17 00:00:00 2001 From: sebprt Date: Tue, 31 Oct 2023 15:18:36 +0100 Subject: [PATCH] Assigned type into the Autoload DTO --- src/Cloud/Handler/Workflow/DeclareWorkflowCommandHandler.php | 1 + 1 file changed, 1 insertion(+) 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())