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

TestClass   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 14
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A bar() 0 3 1
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