@@ -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']; |
@@ -3,8 +3,6 @@ |
||
| 3 | 3 | namespace Ps2alerts\Api\Controller\Endpoint\Alerts; |
| 4 | 4 | |
| 5 | 5 | use Ps2alerts\Api\Exception\InvalidArgumentException; |
| 6 | -use Ps2alerts\Api\Repository\Metrics\CombatRepository; |
|
| 7 | -use Ps2alerts\Api\Repository\Metrics\ClassRepository; |
|
| 8 | 6 | use Psr\Http\Message\ServerRequestInterface; |
| 9 | 7 | use Psr\Http\Message\ResponseInterface; |
| 10 | 8 | |
@@ -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 | { |
@@ -72,7 +72,7 @@ |
||
| 72 | 72 | * @param string $type Type of query to use, such as Select, Update etc. |
| 73 | 73 | * @param bool $newOnly Whether we're getting a new query or using a raw one |
| 74 | 74 | * |
| 75 | - * @return \Aura\SqlQuery\QueryInterface |
|
| 75 | + * @return AbstractQuery |
|
| 76 | 76 | */ |
| 77 | 77 | public function newQuery($type = 'single', $newOnly = false) |
| 78 | 78 | { |