Passed
Push — master ( 6ac985...96b623 )
by Bruno
09:22 queued 14s
created

ServiceProvider   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 12
rs 10
c 0
b 0
f 0
wmc 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A boot() 0 5 2
1
<?php declare(strict_types=1);
2
3
namespace Modelarium\Laravel;
4
5
use Illuminate\Support\ServiceProvider as LaravelServiceProvider;
6
7
class ServiceProvider extends LaravelServiceProvider
8
{
9
    /**
10
     * Bootstrap the application services.
11
     *
12
     * @return void
13
     */
14
    public function boot()
15
    {
16
        if ($this->app->runningInConsole()) {
17
            $this->commands([
18
                \Modelarium\Laravel\Console\Commands\ModelariumCommand::class
19
            ]);
20
        }
21
    }
22
}
23