Skip to content

Commit

Permalink
Remove superfluous parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
schlessera committed Jan 8, 2024
1 parent 3612717 commit f1d3211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utility/InputValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@ public static function is_valid_rfc2616_token($input) {
return false;
}

return (preg_match('@^[0-9A-Za-z!#$%&\'*+.^_`|~-]+$@', $input) === 1);
return preg_match('@^[0-9A-Za-z!#$%&\'*+.^_`|~-]+$@', $input) === 1;
}
}

0 comments on commit f1d3211

Please sign in to comment.