Skip to content

Commit

Permalink
refactored code to remove dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
timoj committed Sep 5, 2018
1 parent cdcfb58 commit 8948def
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Wuunder/Util/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function translate($val)
private function _startsWithUpper($str)
{
$chr = mb_substr($str, 0, 1, "UTF-8");
return mb_strtolower($chr, "UTF-8") != $chr;
return ctype_upper($chr);
}


Expand Down

0 comments on commit 8948def

Please sign in to comment.