AuthServiceProvider::boot()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 3
Bugs 2 Features 0
Metric Value
cc 1
eloc 1
c 3
b 2
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace FaithGen\Gallery\Providers;
4
5
use FaithGen\Gallery\Models\Album;
6
use FaithGen\Gallery\Policies\AlbumPolicy;
7
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
8
9
class AuthServiceProvider extends ServiceProvider
10
{
11
    protected $policies = [
12
        Album::class => AlbumPolicy::class,
13
    ];
14
15
    public function boot()
16
    {
17
        $this->registerPolicies();
18
    }
19
20
    /**
21
     * Register services.
22
     *
23
     * @return void
24
     */
25
    public function register()
26
    {
27
    }
28
}
29