Skip to content
This repository was archived by the owner on Jul 31, 2018. It is now read-only.

Commit 1fa9532

Browse files
committed
Fix typo in README
1 parent 8660688 commit 1fa9532

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ Contact::reindex()
250250
To reindex all your records (in place, without deleting out-dated records):
251251

252252
```php
253-
Contact.reindex(false)
253+
Contact::reindex(false)
254254
```
255255

256256
#### Clearing an index
@@ -326,5 +326,5 @@ class Contact extends \Illuminate\Database\Eloquent\Model
326326
To search using an extra index, use the following code:
327327

328328
```php
329-
Book.search('foo bar', ['index' => 'contacts_desc']);
329+
Book::search('foo bar', ['index' => 'contacts_desc']);
330330
```

0 commit comments

Comments
 (0)