code refactoring
- variable names - unused parameters
This commit is contained in:
1 parent
b1663303b0
commit
ff0dfc4ae7
31 files changed
+439
-489
No files matched your search
@@ -409,12 +409,12 @@ class MapQueue implements CallbackListener, CommandListener {
|
||||
* @return array
|
||||
*/
|
||||
public function getQueuedMapsRanking() {
|
||||
$i = 1;
|
||||
$index = 1;
|
||||
$queuedMaps = array();
|
||||
foreach ($this->queuedMaps as $queuedMap) {
|
||||
$map = $queuedMap[1];
|
||||
$queuedMaps[$map->uid] = $i;
|
||||
$i++;
|
||||
$queuedMaps[$map->uid] = $index;
|
||||
$index++;
|
||||
}
|
||||
return $queuedMaps;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user