final class ResponseCreated implements IPsr14Event
{
public function __construct(
- public readonly CommentResponse $comment,
- ) {
- }
+ public readonly CommentResponse $response,
+ ) {}
}
final class ResponseUpdated implements IPsr14Event
{
public function __construct(
- public readonly CommentResponse $comment,
- ) {
- }
+ public readonly CommentResponse $response,
+ ) {}
}
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @since 6.1
*
- * @property-read CommentResponse[] $comments
+ * @property-read CommentResponse[] $responses
*/
final class ResponsesDeleted implements IPsr14Event
{
public function __construct(
public readonly array $responses,
- ) {
- }
+ ) {}
}