From f469c8410bd08bd5cfa21978c6741fd7c03050e9 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Tue, 29 Nov 2022 13:58:45 +0545 Subject: [PATCH] Add return type to stopPropagation --- lib/public/Notification/Events/RegisterConsumerEvent.php | 2 +- lib/public/Notification/Events/RegisterNotifierEvent.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/public/Notification/Events/RegisterConsumerEvent.php b/lib/public/Notification/Events/RegisterConsumerEvent.php index 2749398c392e..9084605a295a 100644 --- a/lib/public/Notification/Events/RegisterConsumerEvent.php +++ b/lib/public/Notification/Events/RegisterConsumerEvent.php @@ -51,7 +51,7 @@ abstract class RegisterConsumerEvent extends Event { * * @since 10.0.8 */ - public function stopPropagation() { + public function stopPropagation(): void { } /** diff --git a/lib/public/Notification/Events/RegisterNotifierEvent.php b/lib/public/Notification/Events/RegisterNotifierEvent.php index 78c632d62342..5e5741fe47e5 100644 --- a/lib/public/Notification/Events/RegisterNotifierEvent.php +++ b/lib/public/Notification/Events/RegisterNotifierEvent.php @@ -55,7 +55,7 @@ abstract class RegisterNotifierEvent extends Event { * * @since 10.0.8 */ - public function stopPropagation() { + public function stopPropagation(): void { } /**