Skip to content

Commit

Permalink
FILACMS-31: Minor spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
kyoungportable committed Apr 15, 2024
1 parent 2d53917 commit 6df8e26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Filament/Resources/UserResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static function table(Table $table): Table
PasswordReset::broker()->sendResetLink(['email' => $user->email]);
Notification::make()
->title('Reset Link Sent')
->body('Password reset link has been sent to the **' . $user->email . '**')
->body('Password reset link has been sent to ' . $user->email)
->success()
->send();
})
Expand Down
3 changes: 1 addition & 2 deletions src/Models/UserLogin.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ class UserLogin extends Model
public function user()
{
$userModelClass = config('auth.providers.users.model');
$userModel = new $userModelClass();

return $this->belongsTo($userModel::class, 'user_id');
return $this->belongsTo($userModelClass, 'user_id');
}
}

0 comments on commit 6df8e26

Please sign in to comment.