pdphilip / laravel-elasticsearch

Laravel Elasticsearch: An Elasticsearch implementation of Laravel's Eloquent ORM
MIT License
86 stars 16 forks source link

[DOC] Mistake in doc #21

Closed abkrim closed 5 months ago

abkrim commented 5 months ago

Hi.

in your doc,

https://elasticsearch.pdphilip.com/the-base-model#model-properties

namespace App\Models;

use PDPhilip\Elasticsearch\Eloquent\Model;
/**
* @mixin \Eloquent
*/
class Product extends Model
{
    protected $connection = 'elasticsearch';
    const CREATED_AT = null // Forget ; 
    const UPDATED_AT = null // Forget ; 
}

I don't see an option for making a PR on the doc.

Best regards

pdphilip commented 5 months ago

Thanks, have updated.