refactor: update deceiving arg description in suspension service

This commit is contained in:
Miguel Nogueira 2022-08-19 00:57:57 +01:00
parent 2b79ae4d09
commit 1ed2a0f5e1
No known key found for this signature in database
GPG Key ID: 3C6A7E29AF26D370

View File

@ -22,7 +22,7 @@ class AccountSuspensionService
* Suspensions also block registration attempts.
*
* @param string $reason Suspension reason.
* @param int $duration Duration. This is a timestamp.
* @param int $duration Duration in days
* @param User $target Who to suspend.
* @param string $type Permanent or temporary?
* @return Ban The ban itself