Skip to content

Commit

Permalink
Fix wrong encoding var in startsWith
Browse files Browse the repository at this point in the history
  • Loading branch information
Nek- authored May 9, 2017
1 parent 43ce023 commit 51d1825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StringTools.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static function startsWith($str, $start)
{
$length = strlen($start);

return substr($str, 0, $length, $encoding) === $start;
return substr($str, 0, $length) === $start;
}

/**
Expand Down

0 comments on commit 51d1825

Please sign in to comment.