From 8b173461afcdfb59dd217e25fb16737ffaf34fa8 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 24 Mar 2026 16:41:33 +0000 Subject: [PATCH] refactor: remove empty register() methods in Boot classes These Boot classes use the event-driven $listens pattern where registration happens in event handlers (onAdminPanel, onDomainResolving), not in register(). The empty overrides served no purpose since the parent ServiceProvider already provides the method. Fixes #17 Co-Authored-By: Claude Opus 4.6 (1M context) --- src/Mod/Hub/Boot.php | 5 ----- src/Website/Hub/Boot.php | 5 ----- 2 files changed, 10 deletions(-) diff --git a/src/Mod/Hub/Boot.php b/src/Mod/Hub/Boot.php index 5b6f339..1a95a05 100644 --- a/src/Mod/Hub/Boot.php +++ b/src/Mod/Hub/Boot.php @@ -210,11 +210,6 @@ class Boot extends ServiceProvider implements AdminMenuProvider ]; } - public function register(): void - { - // - } - // ------------------------------------------------------------------------- // Event-driven handlers // ------------------------------------------------------------------------- diff --git a/src/Website/Hub/Boot.php b/src/Website/Hub/Boot.php index 0b74e4c..09e58b7 100644 --- a/src/Website/Hub/Boot.php +++ b/src/Website/Hub/Boot.php @@ -58,11 +58,6 @@ class Boot extends ServiceProvider implements AdminMenuProvider } } - public function register(): void - { - // - } - /** * Get domains for this website. *