Completed
Push — master ( 5e57cd...16c438 )
by Vladimir
03:21
created
src/Model/BaseModel.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -275,7 +275,7 @@  discard block
 block discarded – undo
275 275
      * @param string          $column           The name of the column that should be tested
276 276
      * @param array|mixed     $possible_values  List of acceptable values
277 277
      * @param bool            $negate           Whether to search if the value of $column does NOT belong to the $possible_values array
278
-     * @param string|string[] $select           The name of the column(s) that the returned array should contain
278
+     * @param string $select           The name of the column(s) that the returned array should contain
279 279
      * @param string          $additional_query Additional parameters to be passed to the MySQL query (e.g. `WHERE id = 5`)
280 280
      * @param string          $table            The database table which will be used for queries
281 281
      *
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
      * Get a formatted string with a comma separated column list with table/alias prefixes if necessary.
343 343
      *
344 344
      * @param string|null $prefix  The table name or SQL alias to be prepend to these columns
345
-     * @param array       $columns The columns to format
345
+     * @param string[]       $columns The columns to format
346 346
      *
347 347
      * @return string
348 348
      */
Please login to merge, or discard this patch.
src/QueryBuilder/QueryBuilder.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -275,7 +275,7 @@  discard block
 block discarded – undo
275 275
     /**
276 276
      * Request that a timestamp is before the specified time
277 277
      *
278
-     * @param string|TimeDate $time      The timestamp to compare to
278
+     * @param Carbon\Carbon $time      The timestamp to compare to
279 279
      * @param bool            $inclusive Whether to include the given timestamp
280 280
      * @param bool            $reverse   Whether to reverse the results
281 281
      *
@@ -368,7 +368,7 @@  discard block
 block discarded – undo
368 368
     /**
369 369
      * Request that a specific model is not returned
370 370
      *
371
-     * @param  Model|int $model The ID or model you don't want to get
371
+     * @param  Player $model The ID or model you don't want to get
372 372
      * @return static
373 373
      */
374 374
     public function except($model)
@@ -821,6 +821,7 @@  discard block
 block discarded – undo
821 821
 
822 822
     /**
823 823
      * Generates all the WHERE conditions for the query
824
+     * @param string $mode
824 825
      * @return string
825 826
      */
826 827
     private function createQueryConditions($mode)
Please login to merge, or discard this patch.
controllers/PlayerController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 use BZIon\Form\Creator\PlayerAdminNotesFormCreator as FormCreator;
4
-use Carbon\Carbon;
5 4
 use Symfony\Component\Form\Form;
6 5
 use Symfony\Component\HttpFoundation\Request;
7 6
 
Please login to merge, or discard this patch.
src/Event/Event.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
      *
146 146
      * @param mixed    $players A single player/ID or a player/ID list
147 147
      * @param string   $type   The type of the event
148
-     * @param null|\Player|int $except A player who should not receive a notification
148
+     * @param \Player $except A player who should not receive a notification
149 149
      * @param \Player $except
150 150
      */
151 151
     protected function doNotify($players, $type, $except = null)
Please login to merge, or discard this patch.
src/Service.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
      * Gets a parameter
101 101
      *
102 102
      * @param  string $name The parameter name
103
-     * @return mixed  The parameter value
103
+     * @return string  The parameter value
104 104
      */
105 105
     public static function getParameter($name)
106 106
     {
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
     }
193 193
 
194 194
     /**
195
-     * @param $kernel
195
+     * @param AppKernel $kernel
196 196
      */
197 197
     public static function setKernel($kernel)
198 198
     {
Please login to merge, or discard this patch.
models/Match.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1326,7 +1326,7 @@
 block discarded – undo
1326 1326
      *
1327 1327
      * @param int[]|Player[] $players
1328 1328
      *
1329
-     * @return float|int
1329
+     * @return integer
1330 1330
      */
1331 1331
     private static function getAveragePlayerElo($players)
1332 1332
     {
Please login to merge, or discard this patch.
models/Player.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -621,7 +621,7 @@  discard block
 block discarded – undo
621 621
 
622 622
     /**
623 623
      * Get all of the callsigns a player has used to log in to the website
624
-     * @return string[] An array containing all of the past callsigns recorded for a player
624
+     * @return integer[] An array containing all of the past callsigns recorded for a player
625 625
      */
626 626
     public function getPastCallsigns()
627 627
     {
@@ -1176,7 +1176,7 @@  discard block
 block discarded – undo
1176 1176
 
1177 1177
     /**
1178 1178
      * Get the (victory/total matches) ratio of the player
1179
-     * @return float
1179
+     * @return integer
1180 1180
      */
1181 1181
     public function getMatchWinRatio()
1182 1182
     {
@@ -1309,6 +1309,7 @@  discard block
 block discarded – undo
1309 1309
 
1310 1310
     /**
1311 1311
      * {@inheritdoc}
1312
+     * @param string $prefix
1312 1313
      */
1313 1314
     public static function getEagerColumns($prefix = null)
1314 1315
     {
Please login to merge, or discard this patch.
controllers/LeagueOverseerHookController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -252,7 +252,7 @@
 block discarded – undo
252 252
      * @param string $parameter The query parameter to get and split
253 253
      * @param string $delimiter A delimiter for splitting the string
254 254
      *
255
-     * @return array
255
+     * @return string[]
256 256
      */
257 257
     private function explodeQueryParam($parameter, $delimiter = ',')
258 258
     {
Please login to merge, or discard this patch.
src/Composer/ScriptHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      * booting
44 44
      *
45 45
      * @param $event Event       Composer's event
46
-     * @param $env   string|null The environment to clear the cache for, 'all'
46
+     * @param string $env   string|null The environment to clear the cache for, 'all'
47 47
      *                           to clear the cache for all environments, null
48 48
      *                           to pick an environment based on command line
49 49
      *                           arguments (defaults to 'all')
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
      * Get the database's configuration
271 271
      *
272 272
      * @param  bool    $testing Whether to retrieve the test database credentials
273
-     * @return array|null The configuration as defined in the config.yml file, null if no configuration was found
273
+     * @return IOInterface The configuration as defined in the config.yml file, null if no configuration was found
274 274
      */
275 275
     public static function getDatabaseConfig($testing = false)
276 276
     {
Please login to merge, or discard this patch.