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

BadClass::getDataSet()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 9
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
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