Completed
Push — staging ( 49d4d2...31af54 )
by Matthew
03:26
created
src/Controller/Endpoint/ContextualDataEndpointController.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,9 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * Construct
17 17
      *
18
-     * @param Ps2alerts\Api\Repository\AlertRepository   $repository
19
-     * @param Ps2alerts\Api\Transformer\AlertTransformer $transformer
20
-     * @param League\Fractal\Manager                     $fractal
18
+     * @param Manager                     $fractal
21 19
      */
22 20
     public function __construct(
23 21
         Manager          $fractal
Please login to merge, or discard this patch.
src/Transformer/DataTransformer.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,6 @@
 block discarded – undo
57 57
     /**
58 58
      * The tranform method required by Fractal to parse the data and return proper typing and fields.
59 59
      *
60
-     * @param  array $data Data to transform
61 60
      *
62 61
      * @return array
63 62
      */
Please login to merge, or discard this patch.
src/Transformer/Profiles/OutfitProfileTransformer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -219,6 +219,9 @@
 block discarded – undo
219 219
         return $players;
220 220
     }
221 221
 
222
+    /**
223
+     * @param integer $offset
224
+     */
222 225
     public function getOutfitMembers($data, $offset)
223 226
     {
224 227
         $client = $this->getHttpClientDriver();
Please login to merge, or discard this patch.
src/Transformer/Profiles/PlayerProfileTransformer.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      *
73 73
      * @param  array $data
74 74
      *
75
-     * @return \League\Fractal\Resource\Collection
75
+     * @return \League\Fractal\Resource\Item
76 76
      */
77 77
     public function includeCensus($data)
78 78
     {
@@ -144,9 +144,8 @@  discard block
 block discarded – undo
144 144
     /**
145 145
      * Gets Metrics for a player
146 146
      *
147
-     * @param  array $player
148 147
      *
149
-     * @return array
148
+     * @return \League\Fractal\Resource\Item
150 149
      */
151 150
     public function includeMetrics($data)
152 151
     {
@@ -179,7 +178,7 @@  discard block
 block discarded – undo
179 178
      *
180 179
      * @param  array $data
181 180
      *
182
-     * @return \League\Fractal\Resource\Collection
181
+     * @return \League\Fractal\Resource\Item
183 182
      */
184 183
     public function includeOutfit($data)
185 184
     {
Please login to merge, or discard this patch.
src/Controller/Endpoint/AbstractEndpointController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
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
      *
Please login to merge, or discard this patch.
src/Controller/Endpoint/Alerts/AlertCombatEndpointController.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -250,6 +250,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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'];
Please login to merge, or discard this patch.
Controller/Endpoint/Leaderboards/LeaderboardOutfitEndpointController.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
     /**
16 16
      * Construct
17 17
      *
18
-     * @param League\Fractal\Manager $fractal
19 18
      */
20 19
     public function __construct(
21 20
         OutfitTotalRepository  $repository
Please login to merge, or discard this patch.
Controller/Endpoint/Leaderboards/LeaderboardPlayerEndpointController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Repository/AbstractEndpointRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.