Completed
Pull Request — master (#22)
by Matthew
03:51 queued 02:04
created
src/Command/ArchiveCommand.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -122,8 +122,8 @@
 block discarded – undo
122 122
      * Execution of routine
123 123
      *
124 124
      * @param  array                                            $alert
125
-     * @param  array                                            $tables
126
-     * @param  Symfony\Component\Console\Output\OutputInterface $output
125
+     * @param  string[]                                            $tables
126
+     * @param  OutputInterface $output
127 127
      *
128 128
      * @return void
129 129
      */
Please login to merge, or discard this patch.
src/Command/DeleteAlertCommand.php 1 patch
Doc Comments   +11 added lines, -5 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     /**
116 116
      * Processes players for alert
117 117
      * @param  string $id Alert ID
118
-     * @return void
118
+     * @return integer
119 119
      */
120 120
     protected function processPlayers($id)
121 121
     {
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
     /**
150 150
      * Processes outfits for alert
151 151
      * @param  string $id Alert ID
152
-     * @return void
152
+     * @return integer
153 153
      */
154 154
     protected function processOutfits($id)
155 155
     {
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
     /**
182 182
      * Processes XPs for alert
183 183
      * @param  string $id Alert ID
184
-     * @return void
184
+     * @return integer
185 185
      */
186 186
     protected function processXP($id)
187 187
     {
@@ -208,11 +208,11 @@  discard block
 block discarded – undo
208 208
     /**
209 209
      * Executes the process based on inputs
210 210
      * @param  string $id          Alert ID
211
-     * @param  array  $cols        Columns to look for
211
+     * @param  string[]  $cols        Columns to look for
212 212
      * @param  string $table       Table to look for
213 213
      * @param  string $totalsTable Table total to update if applicable
214 214
      * @param  string $filter      Column to filter on
215
-     * @param  array  $fields      Fields to summarize
215
+     * @param  string[]  $fields      Fields to summarize
216 216
      * @param  array  $groupBy     Fields to group by
217 217
      * @return int
218 218
      */
@@ -270,6 +270,9 @@  discard block
 block discarded – undo
270 270
         return $count;
271 271
     }
272 272
 
273
+    /**
274
+     * @param string $id
275
+     */
273 276
     protected function deleteAllFromTables(array $tables, $id, OutputInterface $output)
274 277
     {
275 278
         foreach ($tables as $table) {
@@ -288,6 +291,9 @@  discard block
 block discarded – undo
288 291
         }
289 292
     }
290 293
 
294
+    /**
295
+     * @param string $id
296
+     */
291 297
     protected function deleteAlert($id)
292 298
     {
293 299
         $delete = $this->auraFactory->newDelete();
Please login to merge, or discard this patch.
src/Controller/Endpoint/Leaderboards/LeaderboardEndpointController.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     /**
29 29
      * Construct
30 30
      *
31
-     * @param League\Fractal\Manager $fractal
31
+     * @param Manager $fractal
32 32
      */
33 33
     public function __construct(
34 34
         Manager                $fractal,
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     /**
49 49
      * Get Player Leaderboard
50 50
      *
51
-     * @return \League\Fractal\Manager
51
+     * @return ResponseInterface
52 52
      */
53 53
     public function players()
54 54
     {
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
     /**
138 138
      * Get Outfit Leaderboard
139 139
      *
140
-     * @return \League\Fractal\Manager
140
+     * @return ResponseInterface
141 141
      */
142 142
     public function outfits()
143 143
     {
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
     /**
209 209
      * Get Weapon Leaderboard
210 210
      *
211
-     * @return \League\Fractal\Manager
211
+     * @return ResponseInterface
212 212
      */
213 213
     public function weapons()
214 214
     {
Please login to merge, or discard this patch.