From 296deb19d397d75f8dfcc0fd3056b13950604635 Mon Sep 17 00:00:00 2001 From: Jan Schuppik Date: Wed, 4 Mar 2026 15:57:42 +0100 Subject: [PATCH] `Events::isValidEvent()`: Add strict type declarations This change required adjustments to the following dependencies: ipl-html: - src/FormElement/FormElements.php ipl-web: - src/Control/SearchBar.php notification-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 3405086..4b87f01 100644 --- a/src/Events.php +++ b/src/Events.php @@ -50,7 +50,7 @@ protected function assertValidEvent($event) * @param string $event * @return bool */ - public function isValidEvent($event) + public function isValidEvent(string $event): bool { return true; }