From 46fe0d974f9e7a7b657fe652d420756983eb06a4 Mon Sep 17 00:00:00 2001 From: Georgi Kurian Date: Thu, 15 Aug 2024 03:48:52 -0400 Subject: [PATCH] Fixed an error in installation document (#1874) --- docs/core/installation.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/core/installation.md b/docs/core/installation.md index 4dd1862e15..9633b8b4dc 100644 --- a/docs/core/installation.md +++ b/docs/core/installation.md @@ -29,13 +29,14 @@ You may need to update your app's `composer.json` to set `"minimum-stability": " ### Add the LunarUser Trait -Some parts of the core rely on the `User` model having certain relationships set up. We've bundled these into a trait which you must add to any models that represent users in your database. +Some parts of the core rely on the User model having certain relationships set up. We have bundled these into a trait and an interface, which you must add to any models that represent users in your database. ```php use Lunar\Base\Traits\LunarUser; +use Lunar\Base\LunarUser as LunarUserInterface; // ... -class User extends Authenticatable +class User extends Authenticatable implements LunarUserInterface { use LunarUser; // ...