Passed
Push — main ( cafa89...d7a43f )
by Michael
03:28
created

LecServiceProvider::packageBooted()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 6
CRAP Score 1

Importance

Changes 4
Bugs 0 Features 0
Metric Value
cc 1
eloc 7
c 4
b 0
f 0
nc 1
nop 0
dl 0
loc 9
ccs 6
cts 6
cp 1
crap 1
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace MichaelRubel\EnhancedContainer;
6
7
use Spatie\LaravelPackageTools\Package;
8
use Spatie\LaravelPackageTools\PackageServiceProvider;
9
10
class LecServiceProvider extends PackageServiceProvider
11
{
12
    /**
13
     * Configure the package.
14
     *
15
     * @param Package $package
16
     *
17
     * @return void
18
     */
19 83
    public function configurePackage(Package $package): void
20
    {
21
        $package
22 83
            ->name('laravel-enhanced-container')
23 83
            ->hasConfigFile();
24
    }
25
}
26