We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 820cd4e + 3d1f4a0 commit 0075c99Copy full SHA for 0075c99
Link.php
@@ -159,6 +159,6 @@ public function withoutAttribute($attribute)
159
160
private function hrefIsTemplated(string $href): bool
161
{
162
- return false !== strpos($href, '{') || false !== strpos($href, '}');
+ return str_contains($href, '{') || str_contains($href, '}');
163
}
164
composer.json
@@ -20,7 +20,8 @@
20
},
21
"require": {
22
"php": ">=7.2.5",
23
- "psr/link": "^1.0"
+ "psr/link": "^1.0",
24
+ "symfony/polyfill-php80": "^1.16"
25
26
"suggest": {
27
"symfony/http-kernel": ""
0 commit comments