diff --git a/README.md b/README.md index 891408c..4aaecd6 100644 --- a/README.md +++ b/README.md @@ -396,7 +396,7 @@ s('foobar')->ensureLeft('http://'); // 'http://foobar' ##### ensureRight(string $substring) -Ensures that the string begins with $substring. If it doesn't, it's appended. +Ensures that the string ends with $substring. If it doesn't, it's appended. ```php s('foobar')->ensureRight('.com'); // 'foobar.com'