AssetBundle - fix docs

This commit is contained in:
Michal Piotrowski 2015-11-25 23:16:51 +01:00 committed by Fabien Potencier
parent 0cb308f634
commit 62b3cb2805
2 changed files with 7 additions and 0 deletions

View File

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

View File

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