From c09de057a19c48bba55085259dac012d15807e32 Mon Sep 17 00:00:00 2001 From: Josh Di Fabio Date: Tue, 8 Sep 2015 13:37:21 +0100 Subject: [PATCH] Fix copy/paste mistake in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 11d634c..0f1407c 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'