This backport ensures the compatibility for version 3.0 (and above) and version 5.2. With this commit, plugins can fully support the reaction system and the like system, previously this was only possible to a limited extent.
See #2508
--- /dev/null
+<?php
+namespace wcf\data\reaction\object;
+use wcf\data\like\Like;
+
+/**
+ * Any reactionable object, which supports notifications, should implement this interface.
+ *
+ * @author Joshua Ruesweg
+ * @copyright 2001-2019 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package WoltLabSuite\Core\Data\Reaction\Object
+ * @since 3.0
+ */
+interface IReactionObject {
+ /**
+ * Sends a notification for this reaction.
+ *
+ * @param Like $like
+ */
+ public function sendNotification(Like $like);
+}