Total Complexity | 6 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Coverage | 69.23% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
6 | class PhpDocType implements PhpAnyType |
||
7 | { |
||
8 | private $type; |
||
9 | |||
10 | /** |
||
11 | * @return string |
||
12 | */ |
||
13 | public function renderArgumentType() |
||
14 | { |
||
15 | return ''; |
||
16 | } |
||
17 | |||
18 | /** |
||
19 | * @return string |
||
20 | */ |
||
21 | 11 | public function renderPhpDocType() |
|
22 | { |
||
23 | 11 | return $this->type; |
|
24 | } |
||
25 | |||
26 | 6 | private function __construct($type) |
|
27 | { |
||
28 | 6 | $this->type = $type; |
|
29 | 6 | } |
|
30 | |||
31 | 1 | public static function staticType() |
|
34 | } |
||
35 | |||
36 | public static function selfType() |
||
39 | } |
||
40 | |||
41 | 5 | public static function thisType() |
|
44 | } |
||
45 | |||
46 | } |