Passed
Push — master ( 3969d5...0dc1ce )
by Brian
02:40
created

BaseProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 4
c 1
b 0
f 0
dl 0
loc 9
ccs 0
cts 2
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace App\Ussd\Providers;
4
5
use Bmatovu\Ussd\Store;
6
use Bmatovu\Ussd\Contracts\ListProvider;
7
use Bmatovu\Ussd\Traits\Attributes;
8
use Bmatovu\Ussd\Traits\Variables;
9
10
abstract class BaseProvider implements ListProvider
11
{
12
    use Attributes, Variables;
0 ignored issues
show
introduced by
The trait Bmatovu\Ussd\Traits\Attributes requires some properties which are not provided by App\Ussd\Providers\BaseProvider: $node, $attributes, $nodeValue
Loading history...
introduced by
The trait Bmatovu\Ussd\Traits\Variables requires some properties which are not provided by App\Ussd\Providers\BaseProvider: $node, $childNodes
Loading history...
13
14
    protected Store $store;
15
16
    public function __construct(Store $store)
17
    {
18
        $this->store = $store;
19
    }
20
21
    // abstract public function load(): array;
22
}
23