Skip to content

Commit 38a2fb6

Browse files
committed
Update readme
1 parent e0e9396 commit 38a2fb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ use Jenssegers\Mongodb\Eloquent\Model as Eloquent;
8080
class User extends Eloquent {}
8181
```
8282

83-
If you are using hybrid relations, your MySQL classes should now extend the original Eloquent model class `Illuminate\Database\Eloquent\Model` instead of the removed `Jenssegers\Eloquent\Model`. Instead it should now use the `Jenssegers\Mongodb\Eloquent\HybridRelations` trait. This should make things more clear as there is only one single model class in this package.
83+
If you are using hybrid relations, your MySQL classes should now extend the original Eloquent model class `Illuminate\Database\Eloquent\Model` instead of the removed `Jenssegers\Eloquent\Model`. Instead use the new `Jenssegers\Mongodb\Eloquent\HybridRelations` trait. This should make things more clear as there is only one single model class in this package.
8484

8585
```php
8686
use Jenssegers\Mongodb\Eloquent\HybridRelations;

0 commit comments

Comments
 (0)