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

Commit f1ca283

Browse files
committed
Add php syntax hilighting
1 parent 78d007e commit f1ca283

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
@@ -238,7 +238,7 @@ If you want to index records that didn't yet load any relations you can do it by
238238

239239
It will look like:
240240

241-
```
241+
```php
242242
public function getAlgoliaRecord()
243243
{
244244
/**
@@ -253,7 +253,7 @@ public function getAlgoliaRecord()
253253

254254
In the resulted object you will have categories converted to array by Laravel. If you want a custom relation structure you will instead do something like :
255255

256-
```
256+
```php
257257
public function getAlgoliaRecord()
258258
{
259259
/**

0 commit comments

Comments
 (0)