Test Failed
Push — master ( d28cee...30fec9 )
by Burak
05:26 queued 27s
created

FortifyServiceProvider   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
dl 0
loc 23
ccs 0
cts 7
cp 0
rs 10
c 1
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A register() 0 2 1
A boot() 0 6 1
1
<?php
2
3
namespace App\Providers;
4
5
use App\Actions\Fortify\CreateNewUser;
6
use App\Actions\Fortify\ResetUserPassword;
7
use App\Actions\Fortify\UpdateUserPassword;
8
use App\Actions\Fortify\UpdateUserProfileInformation;
9
use Illuminate\Support\ServiceProvider;
10
use Laravel\Fortify\Fortify;
11
12
class FortifyServiceProvider extends ServiceProvider
13
{
14
    /**
15
     * Register any application services.
16
     *
17
     * @return void
18
     */
19
    public function register()
20
    {
21
        //
22
    }
23
24
    /**
25
     * Bootstrap any application services.
26
     *
27
     * @return void
28
     */
29
    public function boot()
30
    {
31
        Fortify::createUsersUsing(CreateNewUser::class);
32
        Fortify::updateUserProfileInformationUsing(UpdateUserProfileInformation::class);
33
        Fortify::updateUserPasswordsUsing(UpdateUserPassword::class);
34
        Fortify::resetUserPasswordsUsing(ResetUserPassword::class);
35
    }
36
}
37