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 8db46b3 commit 5d5d5e0Copy full SHA for 5d5d5e0
interfaces/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