Skip to content

Commit 5d5d5e0

Browse files
committed
Improve UriString implementation
1 parent 8db46b3 commit 5d5d5e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interfaces/UriString.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ public static function containsValidRfc3986Characters(Stringable|string $uri): b
509509

510510
public static function containsValidRfc3987Characters(Stringable|string $uri): bool
511511
{
512-
return 1 === preg_match(self::REGEXP_INVALID_URI_RFC3987_CHARS, (string) $uri);
512+
return 1 !== preg_match(self::REGEXP_INVALID_URI_RFC3987_CHARS, (string) $uri);
513513
}
514514

515515
/**

0 commit comments

Comments
 (0)