| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class ClassWithAnnotationWithVarType |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @AnnotationWithVarType(string = "String Value") |
||
| 13 | */ |
||
| 14 | public $foo; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @AnnotationWithVarType(annotation = @AnnotationTargetAll) |
||
| 18 | */ |
||
| 19 | public function bar(){} |
||
| 20 | |||
| 21 | |||
| 22 | /** |
||
| 23 | * @AnnotationWithVarType(string = 123) |
||
| 24 | */ |
||
| 25 | public $invalidProperty; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @AnnotationWithVarType(annotation = @AnnotationTargetAnnotation) |
||
| 29 | */ |
||
| 30 | public function invalidMethod(){} |
||
| 31 | } |
||
| 32 |