Test Failed
Push — master ( eb2129...3aef10 )
by Burak
12:26 queued 06:30
created

FortifyServiceProvider::boot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 4
nc 1
nop 0
dl 0
loc 6
ccs 0
cts 5
cp 0
crap 2
rs 10
c 1
b 0
f 0
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