namespace wcf\system\user\notification\event;
+use wcf\system\cache\runtime\CommentRuntimeCache;
+use wcf\system\user\notification\object\CommentResponseUserNotificationObject;
+
/**
* Provides a default implementation for user notifications about comment responses.
*
* @copyright 2001-2023 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @since 6.0
+ *
+ * @method CommentResponseUserNotificationObject getUserNotificationObject()
*/
abstract class AbstractCommentResponseUserNotificationEvent extends AbstractSharedUserNotificationEvent
{
*/
public function getEventHash()
{
- return \sha1($this->eventID . '-' . $this->getUserNotificationObject()->objectID);
+ return \sha1($this->eventID . '-' . $this->getUserNotificationObject()->commentID);
}
/**