Skip to content

Commit

Permalink
Applied fixes from StyleCI (#15395)
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell authored Sep 11, 2016
1 parent 9007318 commit e831a9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Str.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public static function contains($haystack, $needles)
public static function endsWith($haystack, $needles)
{
foreach ((array) $needles as $needle) {
if ((string) $needle === substr($haystack, - strlen($needle))) {
if ((string) $needle === substr($haystack, -strlen($needle))) {
return true;
}
}
Expand Down

0 comments on commit e831a9a

Please sign in to comment.