X-Git-Url: https://git.rapsys.eu/packbundle/blobdiff_plain/b365fc709c3a552386ee3c03d26aa7c5a3c285fe..232d0fe60cb6990fd231a2645233e3ef8c00cbea:/Package/PathPackage.php?ds=sidebyside diff --git a/Package/PathPackage.php b/Package/PathPackage.php index 4746fe9..8b53136 100644 --- a/Package/PathPackage.php +++ b/Package/PathPackage.php @@ -69,7 +69,7 @@ class PathPackage extends Package { * * {@inheritdoc} */ - public function getUrl(string $path): string { + public function getUrl($path): string { //Match url starting with a bundle name if (preg_match('%^@([A-Z][a-zA-Z]*?)(?:Bundle/Resources/public)?/(.*)$%', $path, $matches)) { //Handle empty or without replacement pattern basePath