Passed
Pull Request — main (#123)
by Andrey
26:40 queued 11:36
created

Nova   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A vendor() 0 3 1
A files() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace LaravelLang\Lang\Publisher\Plugins;
6
7
use Helldar\LaravelLangPublisher\Plugins\BasePlugin;
8
9
class Nova extends BasePlugin
10
{
11
    public function vendor(): string
12
    {
13
        return 'laravel/nova';
14
    }
15
16
    public function files(): array
17
    {
18
        return [
19
            'packages/nova.json' => 'vendor/nova/{locale}.json',
20
        ];
21
    }
22
}
23