Completed
Push — master ( 5e57cd...16c438 )
by Vladimir
03:21
created
app/AppKernel.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -252,6 +252,10 @@
 block discarded – undo
252 252
         return false;
253 253
     }
254 254
 
255
+    /**
256
+     * @param Request $request
257
+     * @param integer $type
258
+     */
255 259
     private function handleException(Exception $e, $request, $type)
256 260
     {
257 261
         $event = new GetResponseForExceptionEvent($this, $request, $type, $e);
Please login to merge, or discard this patch.
src/Composer/ConfigHandler.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@  discard block
 block discarded – undo
34 34
 
35 35
     const CAUTION_LINE_LENGTH = 60;
36 36
 
37
+    /**
38
+     * @param Event $event
39
+     */
37 40
     public function __construct($event)
38 41
     {
39 42
         $this->event = $event;
@@ -190,7 +193,7 @@  discard block
 block discarded – undo
190 193
     /**
191 194
      * Write a warning if necessary
192 195
      *
193
-     * @param VariableNode $node The node with the warning
196
+     * @param NodeInterface $node The node with the warning
194 197
      */
195 198
     private function writeWarning($node)
196 199
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 namespace BZIon\Composer;
10 10
 
11 11
 use BZIon\Config\Configuration;
12
-use Composer\Script\Event;
13 12
 use Symfony\Component\Config\Definition\ArrayNode;
14 13
 use Symfony\Component\Config\Definition\EnumNode;
15 14
 use Symfony\Component\Config\Definition\NodeInterface;
Please login to merge, or discard this patch.
src/Controller/CRUDController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@
 block discarded – undo
201 201
      * Get a redirection response to a list of models
202 202
      *
203 203
      * @param  ModelInterface $model The model to whose list we should redirect
204
-     * @return Response
204
+     * @return string
205 205
      */
206 206
     protected function redirectToList($model)
207 207
     {
Please login to merge, or discard this patch.
src/Controller/HTMLController.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -82,6 +82,7 @@
 block discarded – undo
82 82
 
83 83
     /**
84 84
      * {@inheritdoc}
85
+     * @param string $action
85 86
      */
86 87
     public function callAction($action = null)
87 88
     {
Please login to merge, or discard this patch.
src/Debug/DatabaseDataCollector.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
     /**
156 156
      * Get the total duration of the database queries in milliseconds
157 157
      *
158
-     * @return float
158
+     * @return integer
159 159
      */
160 160
     public function getDuration()
161 161
     {
Please login to merge, or discard this patch.
src/Form/Creator/MatchFormCreator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@
 block discarded – undo
160 160
      * Get the player list of a team
161 161
      *
162 162
      * @param FormInterface $team A MatchTeamType form
163
-     * @return array
163
+     * @return integer[]
164 164
      */
165 165
     private function getPlayerList(FormInterface $team)
166 166
     {
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.