Passed
Push — master ( 2353b1...3cbe26 )
by Rustam
01:15
created

AnnotatedObject   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 14
rs 10
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\Assert;
8
9
/**
10
 * Class AnnotatedObject
11
 * @package Yiistack\Annotated\Tests\Stub
12
 * @Assert
13
 */
14
class AnnotatedObject
15
{
16
    /**
17
     * @Assert
18
     */
19
    public $foo;
20
21
    /**
22
     * @return null
23
     * @Assert
24
     */
25
    public function bar()
26
    {
27
        return null;
28
    }
29
}
30