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

Commit d82dfbf

Browse files
authored
Syntax highlighting
Syntax Highlighting was not applied on all places. I also fixed some typo's.
1 parent aa8ddf2 commit d82dfbf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,10 @@ for ($i = 0; $i < 10000; $i++) {
170170
Contact::reindex(); // Will use batch operations.
171171
```
172172

173-
You can also make a dynamic condition for those two parameters creating an ``autoIndex``` and/or ```autoDelete method```
173+
You can also make a dynamic condition for those two parameters creating an `autoIndex` and/or `autoDelete method`
174174
on your model
175175

176-
```
176+
```php
177177
use Illuminate\Database\Eloquent\Model;
178178

179179
class Contact extends Model
@@ -435,7 +435,7 @@ Book::search('foo bar', ['index' => 'contacts_private']);
435435

436436
Doing :
437437

438-
```
438+
```php
439439
Ad::where('id', $id)->update($attributes);
440440
```
441441

@@ -444,7 +444,7 @@ it is just a convenient way to generate the query hidden behind the model
444444

445445
To make this query work with Algolia you need to do it like that:
446446

447-
```
447+
```php
448448
Ad::find($id)->update($attributes);
449449
```
450450

0 commit comments

Comments
 (0)