1<?php
2
3// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
4// See the LICENCE file in the repository root for full licence text.
5
6namespace App\Models\Traits;
7
8use App\Models\User;
9use App\Models\UserReport;
10
11interface ReportableInterface
12{
13 public function reportableAdditionalInfo(): ?string;
14 public function reportBy(User $reporter, array $params): ?UserReport;
15 public function trashed();
16}