Fix various code things.

This commit is contained in:
James Cole
2023-11-04 19:20:07 +01:00
parent e51fef3037
commit 688f50ee3f
16 changed files with 32 additions and 28 deletions

View File

@@ -541,7 +541,7 @@ class User extends Authenticatable
public function routeNotificationFor($driver, $notification = null)
{
if (method_exists($this, $method = 'routeNotificationFor' . Str::studly($driver))) {
return $this->{$method}($notification);
return $this->{$method}($notification); // @phpstan-ignore-line
}
$email = $this->email;
// see if user has alternative email address: