Completed
Pull Request — master (#51)
by Konstantinos
08:32 queued 04:30
created
src/Form/Transformer/MatchTeamTransformer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace BZIon\Form\Transformer;
4 4
 
5
-use Symfony\Component\Form\DataTransformerInterface;
6 5
 use Symfony\Component\Form\Exception\TransformationFailedException;
7 6
 
8 7
 class MatchTeamTransformer extends SingleModelTransformer
Please login to merge, or discard this patch.
src/Service.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@
 block discarded – undo
191 191
     }
192 192
 
193 193
     /**
194
-     * @param $kernel
194
+     * @param AppKernel $kernel
195 195
      */
196 196
     public static function setKernel($kernel)
197 197
     {
Please login to merge, or discard this patch.
src/Database.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -296,7 +296,7 @@
 block discarded – undo
296 296
      *
297 297
      * Prevents PDO from being erroneously serialized
298 298
      *
299
-     * @return array The list of properties that should be serialized
299
+     * @return string[] The list of properties that should be serialized
300 300
      */
301 301
     public function __sleep()
302 302
     {
Please login to merge, or discard this patch.
models/Ban.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -354,7 +354,7 @@
 block discarded – undo
354 354
      *
355 355
      * @param int         $playerID        The ID of the victim of the ban
356 356
      * @param int         $authorID        The ID of the player responsible for the ban
357
-     * @param mixed|null $expiration      The expiration of the ban (set to NULL so that it never expires)
357
+     * @param TimeDate|null $expiration      The expiration of the ban (set to NULL so that it never expires)
358 358
      * @param string      $reason          The full reason for the ban
359 359
      * @param string      $srvmsg          A summary of the ban to be displayed on server banlists (max 150 characters)
360 360
      * @param string[]    $ipAddresses     An array of IPs that have been banned
Please login to merge, or discard this patch.
models/Role.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
     /**
212 212
      * Add a permission to a role
213 213
      *
214
-     * @param string|Permission $perm_name The name of the permission to add
214
+     * @param Permission $perm_name The name of the permission to add
215 215
      *
216 216
      * @return bool Whether or not the operation was successful
217 217
      */
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
     /**
266 266
      * Revoke a permission from a role
267 267
      *
268
-     * @param string|Permission $perm_name The permission to remove
268
+     * @param Permission $perm_name The permission to remove
269 269
      *
270 270
      * @return bool Whether or not the operation was successful
271 271
      */
Please login to merge, or discard this patch.
models/Player.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -379,7 +379,7 @@  discard block
 block discarded – undo
379 379
 
380 380
     /**
381 381
      * Get all of the callsigns a player has used to log in to the website
382
-     * @return string[] An array containing all of the past callsigns recorded for a player
382
+     * @return integer[] An array containing all of the past callsigns recorded for a player
383 383
      */
384 384
     public function getPastCallsigns()
385 385
     {
@@ -871,7 +871,7 @@  discard block
 block discarded – undo
871 871
 
872 872
     /**
873 873
      * Get the (victory/total matches) ratio of the player
874
-     * @return float
874
+     * @return integer
875 875
      */
876 876
     public function getMatchWinRatio()
877 877
     {
Please login to merge, or discard this patch.
src/Model/Model.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     /**
62 62
      * Find if two objects represent the same model
63 63
      *
64
-     * @param  object   $model The model to compare
64
+     * @param  null|Model   $model The model to compare
65 65
      * @return bool
66 66
      */
67 67
     public function isSameAs($model)
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
      * Useful for form validation
169 169
      *
170 170
      * @param  string $property The name of the property to change
171
-     * @param  mixed  $value    The value of the property
171
+     * @param  string  $value    The value of the property
172 172
      * @return self
173 173
      */
174 174
     protected function inject($property, $value)
Please login to merge, or discard this patch.