@@ -89,7 +89,7 @@ |
||
| 89 | 89 | $query->cols(['*']); |
| 90 | 90 | $query->from('ws_players_total'); |
| 91 | 91 | if ($server != 0) { |
| 92 | - $query->where("playerServer = ?", $server); |
|
| 92 | + $query->where("playerServer = ?", $server); |
|
| 93 | 93 | } |
| 94 | 94 | $query->orderBy([$metric.' DESC']); |
| 95 | 95 | $query->limit($limit); |
@@ -127,7 +127,7 @@ |
||
| 127 | 127 | /** |
| 128 | 128 | * Checks formatting of dates input and then adds them to query |
| 129 | 129 | * |
| 130 | - * @param mixed $dates |
|
| 130 | + * @param string $dates |
|
| 131 | 131 | * @param AbstractQuery $query |
| 132 | 132 | * @param boolean $raw Determines if query is being used in raw mode |
| 133 | 133 | * |
@@ -250,6 +250,9 @@ discard block |
||
| 250 | 250 | return $this->respondWithData($results); |
| 251 | 251 | } |
| 252 | 252 | |
| 253 | + /** |
|
| 254 | + * @param integer $classID |
|
| 255 | + */ |
|
| 253 | 256 | private function findClassGrouping($classID) |
| 254 | 257 | { |
| 255 | 258 | $classGroups = $this->getConfig()['classesGroups']; |
@@ -265,6 +268,9 @@ discard block |
||
| 265 | 268 | return false; |
| 266 | 269 | } |
| 267 | 270 | |
| 271 | + /** |
|
| 272 | + * @param integer $classID |
|
| 273 | + */ |
|
| 268 | 274 | private function findClassFaction($classID) |
| 269 | 275 | { |
| 270 | 276 | $classesFactions = $this->getConfig()['classesFactions']; |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | /** |
| 16 | 16 | * Construct |
| 17 | 17 | * |
| 18 | - * @param League\Fractal\Manager $fractal |
|
| 19 | 18 | */ |
| 20 | 19 | public function __construct( |
| 21 | 20 | OutfitTotalRepository $repository |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | /** |
| 33 | 33 | * Get Player Leaderboard |
| 34 | 34 | * |
| 35 | - * @return \League\Fractal\Manager |
|
| 35 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 36 | 36 | */ |
| 37 | 37 | public function players() |
| 38 | 38 | { |