Skip to content

Commit

Permalink
Update ComposerJson.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostwriter committed Dec 4, 2023
1 parent 69dc389 commit 67573c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/Composer/ComposerJson.php
Expand Up @@ -33,7 +33,7 @@ public function __construct(
) {
$dependencyName = new DependencyName($contents['name']);

$this->package = new Package($dependencyName, $this->version);
$this->package = new Package($dependencyName, new DependencyVersion('dev-main'));

$require = $contents['require'] ?? [];

Expand Down

0 comments on commit 67573c2

Please sign in to comment.