8000 fabbot · symfony/symfony@e1de183 · GitHub
[go: up one dir, main page]

Skip to content

Commit e1de183

Browse files
committed
fabbot
1 parent dfb01dc commit e1de183

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/AssetMapper/Factory/MappedAssetFactory.php

Lines changed: 1 addition & 1 deletion
54B9
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ private function getPublicPath(MappedAsset $asset): ?string
102102
return $this->assetsPathResolver->resolvePublicPath($asset->getLogicalPath());
103103
}
104104

105-
$digestedPath = preg_replace_callback('/\.(\w+)$/', fn($matches) => "-{$digest}{$matches[0]}", $asset->getLogicalPath());
105+
$digestedPath = preg_replace_callback('/\.(\w+)$/', fn ($matches) => "-{$digest}{$matches[0]}", $asset->getLogicalPath());
106106

107107
return $this->assetsPathResolver->resolvePublicPath($digestedPath);
108108
}

0 commit comments

Comments
 (0)
0