Skip to content

Commit c1687fa

Browse files
committed
refactor: remove unneeded ()
1 parent 0be3116 commit c1687fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Helpers/text_helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ function reduce_multiples(string $str, string $character = ',', bool $trim = fal
529529
$pattern = '#' . preg_quote($character, '#') . '{2,}#';
530530
$str = preg_replace($pattern, $character, $str);
531531

532-
return ($trim) ? trim($str, $character) : $str;
532+
return $trim ? trim($str, $character) : $str;
533533
}
534534
}
535535

0 commit comments

Comments
 (0)