From 05335d9cdfcf0cf7e1c97b6d88dcb04c73500911 Mon Sep 17 00:00:00 2001 From: Jan Schuppik Date: Wed, 4 Mar 2026 15:57:42 +0100 Subject: [PATCH] Add strict type declarations to `Events::isValidEvent()` This breaking change requires adjustments to the following consumers: ipl-html: - src/FormElement/FormElements.php ipl-web: - src/Control/SearchBar.php notifications-web: - library/Notifications/Web/Form/ContactForm.php vspheredb: - library/Vspheredb/Web/Form/VCenterShipMetricsForm.php - library/Vspheredb/Web/Form/PerfdataConsumerForm.php --- src/Events.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Events.php b/src/Events.php index 5bd839c..b41b5bb 100644 --- a/src/Events.php +++ b/src/Events.php @@ -74,7 +74,7 @@ protected function assertValidEvent(string $event): void * * @return bool */ - public function isValidEvent($event) + public function isValidEvent(string $event): bool { return true; }