Skip to content

Commit

Permalink
add missing phpdoc param for audit log
Browse files Browse the repository at this point in the history
  • Loading branch information
SQKo committed Sep 17, 2022
1 parent f9b7fbd commit 043c88d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Discord/Parts/Guild/Guild.php
Original file line number Diff line number Diff line change
Expand Up @@ -1248,8 +1248,8 @@ public function createInvite(...$args): ExtendedPromiseInterface
*
* @link https://discord.com/developers/docs/resources/guild#modify-guild-mfa-level
*
* @param int $level The new MFA level `Guild::MFA_NONE` or `Guild::MFA_ELEVATED`.
* @param string $reason Reason for Audit Log.
* @param int $level The new MFA level `Guild::MFA_NONE` or `Guild::MFA_ELEVATED`.
* @param string|null $reason Reason for Audit Log.
*
* @return ExtendedPromiseInterface<Guild> This guild.
*/
Expand All @@ -1272,7 +1272,8 @@ public function updateMFALevel(int $level, ?string $reason = null): ExtendedProm
*
* @link https://discord.com/developers/docs/resources/guild#modify-guild
*
* @param bool[] $features Array of features to set/unset, e.g. `['COMMUNITY' => true, 'INVITES_DISABLED' => false]`.
* @param bool[] $features Array of features to set/unset, e.g. `['COMMUNITY' => true, 'INVITES_DISABLED' => false]`.
* @param string|null $reason Reason for Audit Log.
*
* @return ExtendedPromiseInterface<Guild> This guild.
*
Expand Down

0 comments on commit 043c88d

Please sign in to comment.