Skip to content

Commit

Permalink
add return type to percent_format_i18n function
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvankooten committed Dec 3, 2024
1 parent 38929b6 commit f5af9c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ function get_client_ip(): string
return '';
}

function percent_format_i18n($pct)
function percent_format_i18n($pct): string
{
if ($pct == 0) {
return '';
Expand Down

0 comments on commit f5af9c3

Please sign in to comment.