Skip to content

Commit

Permalink
SDK-2357 update for 7.4 hint
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmet-yoti committed Jun 20, 2024
1 parent f488e9e commit b5e5f87
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .php-cs-fixer.cache

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion src/Util/Json.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,13 @@ private static function validate(): void
}
}

public static function convertFromLatin1ToUtf8Recursively(mixed $dat): mixed
/**
* Recursively converts data from Latin1 to UTF-8 encoding.
*
* @param mixed $dat
* @return mixed
*/
public static function convertFromLatin1ToUtf8Recursively($dat)
{
if (is_string($dat)) {
return utf8_encode($dat);
Expand Down

0 comments on commit b5e5f87

Please sign in to comment.