Completed
Pull Request — master (#286)
by
unknown
03:20
created
PHPDaemon/Clients/AMQP/Channel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -854,7 +854,7 @@
 block discarded – undo
854 854
     }
855 855
 
856 856
     /**
857
-     * @return mixed
857
+     * @return integer
858 858
      */
859 859
     public function getId()
860 860
     {
Please login to merge, or discard this patch.
PHPDaemon/Clients/AMQP/Connection.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -432,6 +432,9 @@
 block discarded – undo
432 432
     }
433 433
 
434 434
 
435
+    /**
436
+     * @param integer $id
437
+     */
435 438
     public function addChannel($id, Channel $channel)
436 439
     {
437 440
         $this->channels[$id] = $channel;
Please login to merge, or discard this patch.
PHPDaemon/Clients/AMQP/Driver/Protocol/CommandInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -14,6 +14,7 @@
 block discarded – undo
14 14
     /**
15 15
      * @param OutgoingFrame $frame
16 16
      * @param callable|null $callback
17
+     * @return boolean
17 18
      */
18 19
     public function command(OutgoingFrame $frame, callable $callback = null);
19 20
 }
Please login to merge, or discard this patch.
PHPDaemon/Clients/AMQP/Driver/Protocol/v091/Parser/Table.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 block discarded – undo
167 167
 
168 168
     /**
169 169
      * Parse an AMQP byte-array value.
170
-     * @return array
170
+     * @return string
171 171
      */
172 172
     private function parseByteArray()
173 173
     {
Please login to merge, or discard this patch.