From 0df74b83abaef759d85178a2b5b6f830800faa0f Mon Sep 17 00:00:00 2001 From: "Raquib-ul Alam (Kanak)" Date: Sun, 1 Mar 2020 16:54:16 +1100 Subject: [PATCH] Fix a typo `belongsToMany` operation is imporing the `Model` with a typo. Fixed it. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1f13ea261..deebfed19 100644 --- a/README.md +++ b/README.md @@ -751,7 +751,7 @@ The belongsToMany relation will not use a pivot "table" but will push id's to a If you want to define custom keys for your relation, set it to `null`: ```php -use Jenssegers\Mongodb\Eloquent\Mode; +use Jenssegers\Mongodb\Eloquent\Model; class User extends Model {