| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class Closure extends AbstractFunction |
||
| 8 | { |
||
| 9 | use ScopedContentTrait; |
||
| 10 | |||
| 11 | 1 | public function __construct(string $returnType = '') |
|
| 12 | { |
||
| 13 | 1 | $this->signature = new Signature('', Modifier::NONE, $returnType); |
|
| 14 | 1 | $this->dependencyAwareChildren = [$this->signature]; |
|
| 15 | 1 | } |
|
| 16 | |||
| 17 | 1 | public static function new(string $returnType = '') |
|
| 20 | } |
||
| 21 | |||
| 22 | 5 | public function generate(): string |
|
| 31 |