From e228b33bad82184f989a081b162e127c1a949f10 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Sun, 8 Aug 2021 15:41:32 +0200 Subject: [PATCH] Remove strict type for path to conform to parent definition --- Package/PathPackage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.41.1