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.
1 parent 6381ec2 commit a55c3a0Copy full SHA for a55c3a0
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
@@ -21,7 +21,8 @@
21
"require": {
22
"php": ">=7.1.3",
23
"psr/link": "^1.0",
24
- "symfony/polyfill-php72": "^1.5"
+ "symfony/polyfill-php72": "^1.5",
25
+ "symfony/polyfill-php80": "^1.16"
26
},
27
"suggest": {
28
"symfony/http-kernel": ""
0 commit comments