Passed
Push — master ( d3a94c...76e109 )
by Valentin
05:50
created

Entity::protected()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
declare(strict_types=1);
3
4
namespace Cycle\ORM\Promise\Tests\Fixtures;
5
6
abstract class Entity
7
{
8
    use EntityTrait;
9
    const MY_CONST = 'value';
10
11
    public $public;
12
    public static $publicStatic;
13
    protected $protected;
14
    protected $__resolver;
15
    private $private = null;
16
17
    public function __construct()
18
    {
19
        //have some body
20
    }
21
22
    public function public(): ?string
23
    {
24
        return 'pub';
25
    }
26
27
    public function __resolver()
28
    {
29
    }
30
31
    /**
32
     * @return array
33
     */
34
    protected function protected(): array
35
    {
36
    }
37
38
    private function private()
1 ignored issue
show
Unused Code introduced by
This method is not used, and could be removed.
Loading history...
39
    {
40
    }
41
42
    public static function publicStatic()
43
    {
44
    }
45
46
    public final function publicFinal()
47
    {
48
    }
49
50
    public function __toString()
51
    {
52
        return '';
53
    }
54
}