Completed
Push — master ( 7f997f...c0f7b8 )
by Kamil
03:25
created
src/Channel-Socket/Connection/ConnectionPool.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
     }
202 202
 
203 203
     /**
204
-     * @param $id
204
+     * @param string $id
205 205
      * @return bool
206 206
      */
207 207
     public function registerHeartbeat($id)
Please login to merge, or discard this patch.
src/Channel-Socket/Socket.php 2 patches
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -381,7 +381,7 @@  discard block
 block discarded – undo
381 381
     /**
382 382
      * @param string $id
383 383
      * @param string $type
384
-     * @return string[]
384
+     * @return string
385 385
      */
386 386
     protected function prepareBinderMessage($id, $type)
387 387
     {
@@ -391,7 +391,7 @@  discard block
 block discarded – undo
391 391
     /**
392 392
      * @param string $id
393 393
      * @param string $type
394
-     * @return string[]
394
+     * @return string
395 395
      */
396 396
     protected function prepareConnectorMessage($id, $type)
397 397
     {
@@ -591,6 +591,7 @@  discard block
 block discarded – undo
591 591
     /**
592 592
      * @param Connection $conn
593 593
      * @param $message[]
594
+     * @param string[] $message
594 595
      * @return mixed
595 596
      */
596 597
     private function recvMessage(Connection $conn, $message)
@@ -754,7 +755,7 @@  discard block
 block discarded – undo
754 755
      * @param string $type
755 756
      * @param string|string[] $message
756 757
      * @param int $flags
757
-     * @return bool
758
+     * @return integer
758 759
      */
759 760
     private function sendMessage($id, $type, $message = null, $flags = Channel::MODE_STANDARD)
760 761
     {
Please login to merge, or discard this patch.
Braces   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -654,9 +654,11 @@  discard block
 block discarded – undo
654 654
             }
655 655
         }
656 656
         catch (Error $ex)
657
-        {}
657
+        {
658
+}
658 659
         catch (Exception $ex)
659
-        {}
660
+        {
661
+}
660 662
 
661 663
         if ($ex !== null)
662 664
         {
@@ -691,9 +693,11 @@  discard block
 block discarded – undo
691 693
             }
692 694
         }
693 695
         catch (Error $ex)
694
-        {}
696
+        {
697
+}
695 698
         catch (Exception $ex)
696
-        {}
699
+        {
700
+}
697 701
 
698 702
         if ($ex !== null)
699 703
         {
Please login to merge, or discard this patch.