fix(Console): add void as valid return type for command methods
All checks were successful
Test Runner / test-php (push) Successful in 31s
Deploy Application / deploy (push) Successful in 1m42s
Test Runner / test-basic (push) Successful in 7s

The MethodSignatureAnalyzer was rejecting command methods with void return
type, causing the schedule:run command to fail validation.
This commit is contained in:
2025-11-26 06:16:09 +01:00
parent 386baff65f
commit c93d3f07a2
73 changed files with 1674 additions and 163 deletions

View File

@@ -44,10 +44,13 @@ final readonly class NavigationItem
public function toArray(): array
{
$icon = $this->getIcon();
return [
'name' => $this->name,
'url' => $this->url,
'icon' => $this->icon instanceof Icon ? $this->icon->toString() : $this->icon,
'icon_html' => $icon?->toHtml('admin-nav__icon') ?? '',
'is_active' => $this->isActive,
];
}