Skip to content

Commit 83f9ae0

Browse files
committed
minor symfony#16673 AssetBundle - fix docs (eventhorizonpl)
This PR was submitted for the 2.8 branch but it was merged into the 2.7 branch instead (closes symfony#16673). Discussion ---------- AssetBundle - fix docs Hi, This PR updates some docs in Asset Bundle. Best regards, Michal | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | License | MIT Commits ------- 62b3cb2 AssetBundle - fix docs
2 parents 0cb308f + 62b3cb2 commit 83f9ae0

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/Symfony/Component/Asset/Package.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ protected function getContext()
6060
return $this->context;
6161
}
6262

63+
/**
64+
* @return VersionStrategyInterface
65+
*/
6366
protected function getVersionStrategy()
6467
{
6568
return $this->versionStrategy;

src/Symfony/Component/Asset/VersionStrategy/StaticVersionStrategy.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ class StaticVersionStrategy implements VersionStrategyInterface
2121
private $version;
2222
private $format;
2323

24+
/**
25+
* @param string $version Version number
26+
* @param string $format Url format
27+
*/
2428
public function __construct($version, $format = null)
2529
{
2630
$this->version = $version;

0 commit comments

Comments
 (0)