Skip to content

Commit

Permalink
fix issue with encoding on new Strings object creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Awilum committed Nov 24, 2020
1 parent 6a6e4fb commit 5dcc932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @param mixed $string Value to modify, after being cast to string. Default: ''
* @param string $encoding The character encoding. Default: UTF-8
*/
function strings($string = '', string $encoding = 'UTF-8'): Strings
function strings($string = '', $encoding = 'UTF-8'): Strings
{
return new Strings($string, $encoding);
}
Expand Down

0 comments on commit 5dcc932

Please sign in to comment.