minor #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 #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
This commit is contained in:
Fabien Potencier 2015-11-28 11:26:33 +01:00
commit 83f9ae0f7e
2 changed files with 7 additions and 0 deletions

View File

@ -60,6 +60,9 @@ class Package implements PackageInterface
return $this->context;
}
/**
* @return VersionStrategyInterface
*/
protected function getVersionStrategy()
{
return $this->versionStrategy;

View File

@ -21,6 +21,10 @@ class StaticVersionStrategy implements VersionStrategyInterface
private $version;
private $format;
/**
* @param string $version Version number
* @param string $format Url format
*/
public function __construct($version, $format = null)
{
$this->version = $version;