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

BadProperty::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
use Byscripts\StaticEntity\AbstractStaticEntity;
6
7
class BadProperty extends AbstractStaticEntity
8
{
9
    private $foo;
0 ignored issues
show
introduced by
The private property $foo is not used, and could be removed.
Loading history...
10
11
    static function getDataSet(): array
12
    {
13
        return [
14
            1 => [
15
                'foo' => 'bar',
16
            ],
17
            2 => [
18
                'foo' => 'bar',
19
                'bar' => 'baz',
20
            ],
21
        ];
22
    }
23
}
24