Completed
Push — master ( 1dcdce...982923 )
by
unknown
07:40 queued 19s
created
PhpAmqpLib/Wire/AMQPReader.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -239,6 +239,7 @@
 block discarded – undo
239 239
      * -2^31...+2^31 range.
240 240
      *
241 241
      * Use with caution!
242
+     * @return integer
242 243
      */
243 244
     public function read_php_int()
244 245
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 namespace PhpAmqpLib\Wire;
3 3
 
4 4
 use PhpAmqpLib\Exception\AMQPDataReadException;
5
+use PhpAmqpLib\Exception\AMQPIOWaitException;
5 6
 use PhpAmqpLib\Exception\AMQPInvalidArgumentException;
6 7
 use PhpAmqpLib\Exception\AMQPNoDataException;
7 8
 use PhpAmqpLib\Exception\AMQPOutOfBoundsException;
8 9
 use PhpAmqpLib\Exception\AMQPTimeoutException;
9
-use PhpAmqpLib\Exception\AMQPIOWaitException;
10 10
 use PhpAmqpLib\Helper\MiscHelper;
11 11
 use PhpAmqpLib\Wire\IO\AbstractIO;
12 12
 
Please login to merge, or discard this patch.
PhpAmqpLib/Wire/AMQPWriter.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      * Floats has some precision issues and so intentionally not supported.
32 32
      * Beware that floats out of PHP_INT_MAX range will be represented in scientific (exponential) notation when casted to string
33 33
      *
34
-     * @param int|string $x Value to pack
34
+     * @param integer $x Value to pack
35 35
      * @param int $bytes Must be multiply of 2
36 36
      * @return string
37 37
      */
@@ -323,7 +323,7 @@  discard block
 block discarded – undo
323 323
     }
324 324
 
325 325
     /**
326
-     * @param int|string $n
326
+     * @param integer $n
327 327
      * @return integer[]
328 328
      */
329 329
     private function splitIntoQuads($n)
Please login to merge, or discard this patch.
PhpAmqpLib/Channel/AMQPChannel.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 
86 86
     /**
87 87
      * @param \PhpAmqpLib\Connection\AbstractConnection $connection
88
-     * @param null $channel_id
88
+     * @param integer $channel_id
89 89
      * @param bool $auto_decode
90 90
      * @param int $channel_rpc_timeout
91 91
      * @throws \Exception
@@ -1085,7 +1085,7 @@  discard block
 block discarded – undo
1085 1085
      * @param $mandatory
1086 1086
      * @param $immediate
1087 1087
      * @param int $ticket
1088
-     * @return mixed
1088
+     * @return string
1089 1089
      */
1090 1090
     private function pre_publish($exchange, $routing_key, $mandatory, $immediate, $ticket)
1091 1091
     {
Please login to merge, or discard this patch.
PhpAmqpLib/Channel/AbstractChannel.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
     }
215 215
 
216 216
     /**
217
-     * @param int|float|null $timeout
217
+     * @param integer $timeout
218 218
      * @return array|mixed
219 219
      */
220 220
     public function next_frame($timeout = 0)
@@ -319,7 +319,7 @@  discard block
 block discarded – undo
319 319
      *
320 320
      * @param array $allowed_methods
321 321
      * @param bool $non_blocking
322
-     * @param int|float|null $timeout
322
+     * @param integer $timeout
323 323
      * @throws \PhpAmqpLib\Exception\AMQPOutOfBoundsException
324 324
      * @throws \PhpAmqpLib\Exception\AMQPRuntimeException
325 325
      * @throws \PhpAmqpLib\Exception\AMQPTimeoutException
Please login to merge, or discard this patch.
PhpAmqpLib/Connection/AbstractConnection.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -519,7 +519,7 @@  discard block
 block discarded – undo
519 519
     /**
520 520
      * Waits for a frame from the server
521 521
      *
522
-     * @param int|float|null $timeout
522
+     * @param integer $timeout
523 523
      * @return array
524 524
      * @throws \Exception
525 525
      * @throws \PhpAmqpLib\Exception\AMQPTimeoutException
@@ -580,7 +580,7 @@  discard block
 block discarded – undo
580 580
      * Waits for a frame from the server destined for a particular channel.
581 581
      *
582 582
      * @param string $channel_id
583
-     * @param int|float|null $timeout
583
+     * @param integer $timeout
584 584
      * @return array
585 585
      */
586 586
     protected function wait_channel($channel_id, $timeout = 0)
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace PhpAmqpLib\Connection;
3 3
 
4
-use PhpAmqpLib\Channel\AbstractChannel;
5 4
 use PhpAmqpLib\Channel\AMQPChannel;
5
+use PhpAmqpLib\Channel\AbstractChannel;
6 6
 use PhpAmqpLib\Exception\AMQPConnectionClosedException;
7 7
 use PhpAmqpLib\Exception\AMQPHeartbeatMissedException;
8
-use PhpAmqpLib\Exception\AMQPInvalidFrameException;
9 8
 use PhpAmqpLib\Exception\AMQPIOException;
9
+use PhpAmqpLib\Exception\AMQPInvalidFrameException;
10 10
 use PhpAmqpLib\Exception\AMQPNoDataException;
11 11
 use PhpAmqpLib\Exception\AMQPProtocolConnectionException;
12 12
 use PhpAmqpLib\Exception\AMQPRuntimeException;
Please login to merge, or discard this patch.