Skip to content

Commit f718840

Browse files
committed
Merge pull request #70 from linkthrow/patch-1
Update wrong method call in readme
2 parents ea0b7d6 + 0b42d9c commit f718840

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Elasticquent allows you take an Eloquent model and easily index and search its c
4949
When you search, instead of getting a plain array of search results, you instead get an Eloquent collection with some special Elasticsearch functionality.
5050

5151
```php
52-
$books = Book::search('Moby Dick')->get();
52+
$books = Book::search('Moby Dick');
5353
echo $books->totalHits();
5454
```
5555

0 commit comments

Comments
 (0)