Files
nextcloud-server-mirror/lib/public/Comments/Events/CommentUpdatedEvent.php
Daniel Kesselberg b5b1cf6561 chore(ocp): mark events as Listenable instead of Consumable
Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Daniel Kesselberg <3902676+kesselb@users.noreply.github.com>
2026-11-02 11:01:19 +00:00

32 lines
693 B
PHP

<?php
/**
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/
namespace OCP\Comments\Events;
use OCP\AppFramework\Attribute\Listenable;
use OCP\Comments\CommentsEvent;
use OCP\Comments\IComment;
/**
* Class CommentUpdatedEvent
*
* @since 33.0.0
*/
#[Listenable(since: '33.0.0')]
final class CommentUpdatedEvent extends CommentsEvent {
/**
* CommentUpdatedEvent constructor.
*
* @since 33.0.0
*/
public function __construct(IComment $comment) {
/** @psalm-suppress DeprecatedConstant */
parent::__construct(CommentsEvent::EVENT_UPDATE, $comment);
}
}