From 4b0b923ca022182919632d7d3df1ce279aff4d83 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Fri, 23 Aug 2019 19:12:55 +0100 Subject: [PATCH] turn EventPriority into final class instead of abstract class --- src/event/EventPriority.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/event/EventPriority.php b/src/event/EventPriority.php index 71d52f1c1..c7a788518 100644 --- a/src/event/EventPriority.php +++ b/src/event/EventPriority.php @@ -35,7 +35,12 @@ use function strtoupper; * * MONITOR events should not change the event outcome or contents */ -abstract class EventPriority{ +final class EventPriority{ + + private function __construct(){ + //NOOP + } + public const ALL = [ self::LOWEST, self::LOW,