We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
updateUser
1 parent 0d93792 commit b15166cCopy full SHA for b15166c
1 file changed
app/sprinkles/account/src/Repository/VerificationRepository.php
@@ -9,6 +9,8 @@
9
10
namespace UserFrosting\Sprinkle\Account\Repository;
11
12
+use UserFrosting\Sprinkle\Account\Database\Models\Interfaces\UserInterface;
13
+
14
/**
15
* Token repository class for new account verifications.
16
*
@@ -25,7 +27,7 @@ class VerificationRepository extends TokenRepository
25
27
26
28
* {@inheritdoc}
29
*/
- protected function updateUser($user, $args)
30
+ protected function updateUser(UserInterface $user, $args)
31
{
32
$user->flag_verified = 1;
33
// TODO: generate user activity? or do this in controller?
0 commit comments