-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,8 +92,8 @@ public function show(): string | |
throw new RuntimeException('Cannot send email for user: ' . $user->email . "\n" . $email->printDebugger(['headers'])); | ||
} | ||
|
||
// Add flag | ||
model('UserIdentityModel') | ||
/** @var UserIdentityModel $identityModel */ | ||
model(UserIdentityModel::class) | ||
Check failure on line 96 in src/Authentication/Actions/EmailActivator.php GitHub Actions / phpstan / PHP 7.4 Static Analysis
Check failure on line 96 in src/Authentication/Actions/EmailActivator.php GitHub Actions / phpstan / PHP 7.4 Static Analysis
Check failure on line 96 in src/Authentication/Actions/EmailActivator.php GitHub Actions / phpstan / PHP 8.1 Static Analysis
Check failure on line 96 in src/Authentication/Actions/EmailActivator.php GitHub Actions / phpstan / PHP 8.1 Static Analysis
Check failure on line 96 in src/Authentication/Actions/EmailActivator.php GitHub Actions / phpstan / PHP 8.0 Static Analysis
Check failure on line 96 in src/Authentication/Actions/EmailActivator.php GitHub Actions / phpstan / PHP 8.0 Static Analysis
Check failure on line 96 in src/Authentication/Actions/EmailActivator.php GitHub Actions / phpstan / PHP 8.2 Static Analysis
Check failure on line 96 in src/Authentication/Actions/EmailActivator.php GitHub Actions / phpstan / PHP 8.2 Static Analysis
Check failure on line 96 in src/Authentication/Actions/EmailActivator.php GitHub Actions / phpstan / PHP 8.3 Static Analysis
Check failure on line 96 in src/Authentication/Actions/EmailActivator.php GitHub Actions / phpstan / PHP 8.3 Static Analysis
|
||
->where('secret', $code) | ||
->set(['secret2' => 'SEND']) | ||
->update(); | ||
|