@@ -19,7 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | return (new MailMessage) |
21 | 21 | ->subject(trans('sanctumauthstarter::notify.login.subject')) |
22 | - ->line(trans('sanctumauthstarter::notify.login.introduction', ['time' => $this->time, 'deviceAndLocation' => $this->deviceAndLocation])) |
|
22 | + ->line(trans('sanctumauthstarter::notify.login.introduction', [ 'time' => $this->time, 'deviceAndLocation' => $this->deviceAndLocation ])) |
|
23 | 23 | ->line(trans('sanctumauthstarter::notify.login.message')) |
24 | 24 | ->action(trans('sanctumauthstarter::notify.login.action'), config('sanctumauthstarter.notification_url.login.user_login')) |
25 | 25 | ->line(trans('sanctumauthstarter::notify.login.complimentary_close')); |
@@ -18,8 +18,8 @@ |
||
18 | 18 | public function toMail($notifiable) |
19 | 19 | { |
20 | 20 | return (new MailMessage) |
21 | - ->subject(trans('sanctumauthstarter::notify.welcome.subject', ['name' => $this->user->name])) |
|
22 | - ->line(trans('sanctumauthstarter::notify.welcome.introduction', ['name' => $this->user->name])) |
|
21 | + ->subject(trans('sanctumauthstarter::notify.welcome.subject', [ 'name' => $this->user->name ])) |
|
22 | + ->line(trans('sanctumauthstarter::notify.welcome.introduction', [ 'name' => $this->user->name ])) |
|
23 | 23 | ->line(trans('sanctumauthstarter::notify.welcome.message')) |
24 | 24 | ->action(trans('sanctumauthstarter::notify.welcome.action'), config('sanctumauthstarter.notification_url.registration.welcome_user')) |
25 | 25 | ->line(trans('sanctumauthstarter::notify.welcome.complimentary_close')); |
@@ -18,11 +18,11 @@ discard block |
||
18 | 18 | * @return void |
19 | 19 | */ |
20 | 20 | |
21 | - public const LANG = __DIR__.'/lang'; |
|
22 | - public const DB = __DIR__.'/migrations'; |
|
23 | - public const VIEW = __DIR__.'/views'; |
|
24 | - public const CONFIG = __DIR__.'/config/sanctumauthstarter.php'; |
|
25 | - public const ACTION = __DIR__.'/.github/workflows'; |
|
21 | + public const LANG = __DIR__ . '/lang'; |
|
22 | + public const DB = __DIR__ . '/migrations'; |
|
23 | + public const VIEW = __DIR__ . '/views'; |
|
24 | + public const CONFIG = __DIR__ . '/config/sanctumauthstarter.php'; |
|
25 | + public const ACTION = __DIR__ . '/.github/workflows'; |
|
26 | 26 | |
27 | 27 | public function boot() |
28 | 28 | { |
@@ -64,12 +64,12 @@ discard block |
||
64 | 64 | public function register() |
65 | 65 | { |
66 | 66 | $this->mergeConfigFrom( |
67 | - __DIR__.'/config/sanctumauthstarter.php', 'sanctumauthstarter' |
|
67 | + __DIR__ . '/config/sanctumauthstarter.php', 'sanctumauthstarter' |
|
68 | 68 | ); |
69 | 69 | |
70 | 70 | $this->app->register(EventServiceProvider::class); |
71 | 71 | |
72 | - $this->app->bind(ThrottleRequestsService::class, function (Application $app) { |
|
72 | + $this->app->bind(ThrottleRequestsService::class, function(Application $app) { |
|
73 | 73 | return new ThrottleRequestsService( |
74 | 74 | config('sanctumauthstarter.login.maxAttempts', 3), |
75 | 75 | config('sanctumauthstarter.login.delayMinutes', 1) |