| Total Complexity | 3 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class Func extends AbstractFunction implements BlockInterface |
||
| 8 | { |
||
| 9 | use ScopedContentTrait, DocBlockTrait; |
||
| 10 | |||
| 11 | 1 | public function __construct(string $name, string $returnType = '') |
|
| 15 | 1 | } |
|
| 16 | |||
| 17 | 1 | public static function new(string $name, string $returnType = ''): self |
|
| 20 | } |
||
| 21 | |||
| 22 | 3 | public function generate(): string |
|
| 31 | } |