Passed
Push — master ( ef1bc4...266755 )
by Arthur
02:43
created

LaravelApiServiceProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 2
dl 0
loc 9
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A register() 0 3 1
1
<?php
2
3
namespace SoliDry;
4
5
6
use Illuminate\Support\ServiceProvider;
7
use SoliDry\Providers\ConsoleServiceProvider;
8
9
class LaravelApiServiceProvider extends ServiceProvider
10
{
11
12
    /**
13
     *  Registers api:generate console command for Laravel
14
     */
15
    public function register(): void
16
    {
17
        $this->app->register(ConsoleServiceProvider::class);
18
    }
19
}