AppServiceProvider   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 22
rs 10
wmc 3

2 Methods

Rating   Name   Duplication   Size   Complexity  
A boot() 0 2 1
A register() 0 5 2
1
<?php
2
3
namespace App\Providers;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class AppServiceProvider extends ServiceProvider
8
{
9
    /**
10
     * Register any application services.
11
     *
12
     * @return void
13
     */
14
    public function register()
15
    {
16
        if ($this->app->isLocal()) {
17
            $this->app->register(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class);
18
            $this->app->register(\Laravel\Telescope\TelescopeServiceProvider::class);
19
        }
20
    }
21
22
    /**
23
     * Bootstrap any application services.
24
     *
25
     * @return void
26
     */
27
    public function boot()
28
    {
29
        //
30
    }
31
}
32