| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public static function createAndShow(mixed ...$args): string |
||
| 16 | { |
||
| 17 | /** @var array<int,mixed> $args */ |
||
| 18 | $component = new \ReflectionClass(static::class); |
||
| 19 | $componentObject = $component->newInstanceArgs($args); |
||
| 20 | /** @var static $componentObject */ |
||
| 21 | return $componentObject->show(); |
||
| 22 | } |
||
| 23 | } |