Skip to content

Commit bf2d7fa

Browse files
minor symfony#51713 [Component][AssertMapper] add type hint of an argument in asset mappe… (Sarah-eit)
This PR was submitted for the 7.0 branch but it was merged into the 6.4 branch instead. Discussion ---------- [Component][AssertMapper] add type hint of an argument in asset mappe… | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Add type hint of an argument in asset mapper command <!-- Replace this notice by a short README for your feature/bugfix. This will help reviewers and should be a good start for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - Bug fixes must be submitted against the lowest maintained branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too). - Features and deprecations must be submitted against the latest branch. - For new features, provide some code snippets to help understand usage. - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry - Never break backward compatibility (see https://symfony.com/bc). --> Commits ------- 9aa9174 [Component][AssertMapper] add type hint of an argument in asset mapper command
2 parents 7d310a3 + 9aa9174 commit bf2d7fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/AssetMapper/Command/DebugAssetMapperCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ private function relativizePath(string $path): string
9696
return str_replace($this->projectDir.'/', '', $path);
9797
}
9898

99-
private function shortenPath($path): string
99+
private function shortenPath(string $path): string
100100
{
101101
$limit = 50;
102102

0 commit comments

Comments
 (0)