| Total Complexity | 1 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class AnnotationFactory |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Build an annotation from a name and a content. |
||
| 21 | * |
||
| 22 | * @param string $name The annotation name (such as "@PhpUnitGen\AssertEquals"). |
||
| 23 | * @param int $line The line number in documentation block. |
||
| 24 | * |
||
| 25 | * @return AnnotationInterface The new built annotation. |
||
| 26 | */ |
||
| 27 | public function invoke(string $name, int $line): AnnotationInterface |
||
| 36 |