From d824b8b83ab49e4d87136b506b5bb7740f93f5ac Mon Sep 17 00:00:00 2001 From: Victor Isadov Date: Sun, 28 May 2017 18:37:04 +0300 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 811827c..243162a 100644 --- a/README.md +++ b/README.md @@ -229,7 +229,7 @@ To find an item in the cart, you can use the `search()` method. **This method was changed on version 2** -Behind the scenes, the method simply uses the search method of the Laravel Collection class. This means you must pass it a Closure in which you'll specify you search terms. +Behind the scenes, the method simply uses the filter method of the Laravel Collection class. This means you must pass it a Closure in which you'll specify you search terms. If you for instance want to find all items with an id of 1: