ReportQueries.php: fix comment

This commit is contained in:
Zankaria 2024-12-06 22:48:56 +01:00
parent b5622e20c5
commit 0a6d92d94b

View file

@ -210,7 +210,7 @@ class ReportQueries {
/** /**
* Deletes all reports from the given ip. * Deletes all reports from the given ip.
* *
* @param int $ip The reporter ip. * @param string $ip The reporter ip.
*/ */
public function deleteByIp(string $ip) { public function deleteByIp(string $ip) {
$query = $this->pdo->prepare("DELETE FROM `reports` WHERE `ip` = :ip"); $query = $this->pdo->prepare("DELETE FROM `reports` WHERE `ip` = :ip");