Skip to content

Commit

Permalink
Merge branch '7.x' into 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
crynobone committed Dec 8, 2024
2 parents 828de4a + e0e70f6 commit 01cbc75
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/Console/DevToolCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,10 @@ protected function prepareWorkbenchDirectories(Filesystem $filesystem, string $w
*/
protected function prepareWorkbenchNamespaces(Filesystem $filesystem, string $workingPath): void
{
$action = new ModifyComposer($workingPath);

$action->handle(function (array $content) use ($filesystem) {
return $this->appendScriptsToComposer(
(new ModifyComposer($workingPath))
->handle(fn (array $content) => $this->appendScriptsToComposer(
$this->appendAutoloadDevToComposer($content, $filesystem), $filesystem
);
});
));
}

/**
Expand Down

0 comments on commit 01cbc75

Please sign in to comment.