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 23c20e2 commit 6484ecbCopy full SHA for 6484ecb
UriString.php
@@ -509,7 +509,7 @@ public static function containsValidRfc3986Characters(Stringable|string $uri): b
509
510
public static function containsValidRfc3987Characters(Stringable|string $uri): bool
511
{
512
- return 1 === preg_match(self::REGEXP_INVALID_URI_RFC3987_CHARS, (string) $uri);
+ return 1 !== preg_match(self::REGEXP_INVALID_URI_RFC3987_CHARS, (string) $uri);
513
}
514
515
/**
0 commit comments