Skip to content

Commit aac9ae1

Browse files
committed
Implements linter hints
1 parent c2225ca commit aac9ae1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

www/common/AttachUser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@
116116

117117
if ($user->isApiUser()) {
118118
$user->setUserPriority((int) Util::getSetting('api_priority', 7));
119-
} else if ($user->isPaid()) {
119+
} elseif ($user->isPaid()) {
120120
$user->setUserPriority((int) Util::getSetting('paid_priority', 6));
121-
} else if ($user->isFree()) {
121+
} elseif ($user->isFree()) {
122122
$user->setUserPriority((int) Util::getSetting('user_priority', 8));
123123
} else {
124124
$user->setUserPriority((int) Util::getSetting('anon_priority', 9));

0 commit comments

Comments
 (0)