Passed
Push — master ( c9574a...036587 )
by Rustam
01:29
created

TestClass::bar()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Yiistack\Annotated\Tests\Stub;
6
7
use Yiistack\Annotated\Tests\Stub\Annotation\Thing;
8
9
/**
10
 * @Thing
11
 */
12
class TestClass
13
{
14
    /**
15
     * @Thing
16
     */
17
    public $foo;
18
19
    /**
20
     * @return null
21
     * @Thing
22
     */
23
    public function bar()
24
    {
25
        return null;
26
    }
27
}
28