Passed
Push — v3.0 ( 013d23...c04ce6 )
by Thierry
01:31
created

BadClass   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 8
dl 0
loc 13
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getDataSet() 0 9 1
1
<?php
2
3
namespace Byscripts\StaticEntity\Tests\Fixtures;
4
5
class BadClass
6
{
7
    private $foo;
0 ignored issues
show
introduced by
The private property $foo is not used, and could be removed.
Loading history...
8
9
    static function getDataSet(): array
10
    {
11
        return [
12
            1 => [
13
                'foo' => 'bar',
14
            ],
15
            2 => [
16
                'foo' => 'bar',
17
                'bar' => 'baz',
18
            ],
19
        ];
20
    }
21
}
22