diff --git a/framework/core/src/Core/Notifications/Types/Notification.php b/framework/core/src/Core/Notifications/Types/Notification.php index 8f2d2d2f8..ecb410a29 100644 --- a/framework/core/src/Core/Notifications/Types/Notification.php +++ b/framework/core/src/Core/Notifications/Types/Notification.php @@ -2,5 +2,15 @@ abstract class Notification { - abstract public static function getType(); + /** + * Returns the serialized type of this notification. + * + * This method should be overwritten by subclasses. + * + * @return string + */ + public static function getType() + { + return 'notification'; + } }