Total Complexity | 3 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
17 | class Foo extends DOMComment |
||
18 | { |
||
19 | private $a = D::TEST; |
||
20 | |||
21 | /** |
||
22 | * method foo |
||
23 | * |
||
24 | * @param B $b b |
||
25 | * @param D $d d |
||
26 | * @param D|int|B $f f |
||
27 | * |
||
28 | * @throws Exception |
||
29 | */ |
||
30 | public function foo(B $b, D $d, $f) |
||
31 | { |
||
32 | /** @var Exception $e */ |
||
33 | $e = new Exception('ups!'); |
||
34 | throw $e; |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * returns some awesome \DOMDocument |
||
39 | * |
||
40 | * @see \DOMDocument |
||
41 | * |
||
42 | * @return D |
||
43 | */ |
||
44 | public function bar() |
||
45 | { |
||
46 | /** @var A\Be $g */ |
||
47 | $g = new A\Be(); |
||
48 | return new D(); |
||
49 | } |
||
50 | |||
51 | /** |
||
52 | * foo |
||
53 | * |
||
54 | * @param MyClosure $c |
||
55 | * |
||
56 | * @return void |
||
57 | */ |
||
58 | public function myClosureFoo(MyClosure $c) |
||
59 | { |
||
60 | } |
||
62 |