]> Raphaƫl G. Git Repositories - packbundle/blobdiff - Asset/PathPackage.php
Change tree to reflect configuration
[packbundle] / Asset / PathPackage.php
index 1a975c5e9e6cc5bf6dae3346a070346529d7fb26..50c6172b16d2668439428ed805ab9c0bb0704cdd 100644 (file)
@@ -3,13 +3,13 @@
 namespace Rapsys\PackBundle\Asset;
 
 use Symfony\Component\Asset\Context\ContextInterface;
-use Symfony\Component\Asset\PathPackage as BasePackage;
+use Symfony\Component\Asset\Package;
 use Symfony\Component\Asset\VersionStrategy\VersionStrategyInterface;
 
 /**
  * (@inheritdoc)
  */
-class PathPackage extends BasePackage {
+class PathPackage extends Package {
        //The base path
        protected $basePath;
 
@@ -17,7 +17,7 @@ class PathPackage extends BasePackage {
         * {@inheritdoc}
         */
        public function __construct(string $basePath, VersionStrategyInterface $versionStrategy, ContextInterface $context = null) {
-               parent::__construct($basePath, $versionStrategy, $context);
+               parent::__construct($versionStrategy, $context);
 
                if (!$basePath) {
                        $this->basePath = '/';