Skip to content

Commit 59ddb9e

Browse files
JibbarthKocal
andauthored
Imprve comments
Co-authored-by: Hugo Alliaume <hugo@alliau.me>
1 parent 06029f7 commit 59ddb9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PackageJsonSynchronizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ private function resolveImportMapPackages($phpPackage): array
150150

151151
foreach ($packageJson->read()['symfony']['importmap'] ?? [] as $importMapName => $constraintConfig) {
152152
if (\is_string($constraintConfig)) {
153-
// Case "jquery": "^3.0" | "@mybundle/script.js": "path:%PACKAGE%/script.js"
153+
// Matches string constraint, like "^3.0" or "path:%PACKAGE%/script.js"
154154
$constraint = $constraintConfig;
155155
$package = $importMapName;
156156
$entrypoint = false;

0 commit comments

Comments
 (0)