Fix linting

This commit is contained in:
Nigel Sheldon 2020-11-21 15:51:56 +01:00
commit 1614145b18
262 changed files with 45324 additions and 42695 deletions

View file

@ -21,12 +21,11 @@
*/
function smarty_modifier_count_characters($string, $include_spaces = false)
{
if ($include_spaces)
return(strlen($string));
if ($include_spaces) {
return(strlen($string));
}
return preg_match_all("/[^\s]/",$string, $match);
return preg_match_all("/[^\s]/", $string, $match);
}
/* vim: set expandtab: */
?>