Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Commit

Permalink
Follow PSR2
Browse files Browse the repository at this point in the history
  • Loading branch information
bepsvpt committed Dec 29, 2015
1 parent 760bc65 commit 6d73f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Faker/Provider/zh_TW/Text.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ protected static function appendEnd($text)
{
// extract the last char of $text
if (function_exists('mb_substr')) {
$last = mb_substr($text, mb_strlen($text)-1, NULL, 'UTF-8');
$last = mb_substr($text, mb_strlen($text)-1, null, 'UTF-8');
} else {
$chars = static::split($text);
$last = end($chars);
Expand Down

0 comments on commit 6d73f08

Please sign in to comment.