coding & phpdoc improvements

This commit is contained in:
Steffen Schröder committed 2014-05-27 22:32:54 +02:00
1 parent 0a7bc3b234
commit 9e016cc770
5 files changed
+13 -15

No files matched your search

@@ -71,15 +71,15 @@ class ManiaExchangeManager {
/**
* Fetch Map Information from Mania Exchange
*
* @param null $map
* @param mixed $maps
*/
public function fetchManiaExchangeMapInformation($map = null) {
if (!$map) {
public function fetchManiaExchangeMapInformation($maps = null) {
if (!$maps) {
//Fetch Information for whole MapList
$maps = $this->maniaControl->mapManager->getMaps();
} else {
//Fetch Information for a single map
$maps[] = $map;
$maps = (array)$maps;
}
$mysqli = $this->maniaControl->database->mysqli;