Rapsys Git
/
packbundle
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4387572
)
Remove strict type for path to conform to parent definition
author
Raphaël Gertz
<git@rapsys.eu>
Sun, 8 Aug 2021 13:41:32 +0000
(15:41 +0200)
committer
Raphaël Gertz
<git@rapsys.eu>
Sun, 8 Aug 2021 13:41:32 +0000
(15:41 +0200)
Package/PathPackage.php
patch
|
blob
|
history
diff --git
a/Package/PathPackage.php
b/Package/PathPackage.php
index 4746fe913368a2abe81df7591d6ff3e19b468ed6..8b531361d22b0d7e8dfd4360c486431d43996e05 100644
(file)
--- 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