Completed
Push — master ( 75d991...74cbb3 )
by Ankit
03:12
created
src/Login.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
      *
65 65
      * @param array $data To store User Credentials
66 66
      *
67
-     * @return json
67
+     * @return string
68 68
      */
69 69
     public function authLogin($data)
70 70
     {
Please login to merge, or discard this patch.
src/Receiver.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -57,10 +57,10 @@
 block discarded – undo
57 57
     /**
58 58
      * Swaping value of conversation class to modify them for receiver
59 59
      *
60
-     * @param json    $msg  To store message
61
-     * @param boollen $para To store True/False
60
+     * @param string    $msg  To store message
61
+     * @param boolean $para To store True/False
62 62
      *
63
-     * @return json
63
+     * @return string
64 64
      */
65 65
     public function receiverLoad($msg, $para)
66 66
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
             $this->conversation->conversationLoad($msg, $para)
77 77
         );
78 78
         // $id1 = json_decode($msg)->details;
79
-        for ($i = 1 ; $i < count($this->messages); $i++) {
79
+        for ($i = 1; $i < count($this->messages); $i++) {
80 80
             $this->messages[$i]->start = $id1;
81 81
         }
82 82
         $id2 = bin2hex(convert_uuencode($id2));
Please login to merge, or discard this patch.
src/Register.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
      *
69 69
      * @param object $data To store user details
70 70
      *
71
-     * @return json
71
+     * @return string|null
72 72
      */
73 73
     public function authRegister($data)
74 74
     {
Please login to merge, or discard this patch.
src/Search.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
      *
65 65
      * @param object $suggestion To store user id and suggestion value
66 66
      *
67
-     * @return json
67
+     * @return string
68 68
      */
69 69
     public function searchItem($suggestion)
70 70
     {
Please login to merge, or discard this patch.
src/SideBar.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     /**
46 46
      * Create a new class instance.
47 47
      *
48
-     * @return void
48
+     * @return integer
49 49
      */
50 50
     public function __construct()
51 51
     {
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      *
65 65
      * @param int $userId To store session id of the user
66 66
      *
67
-     * @return json or string
67
+     * @return string or string
68 68
      */
69 69
     public function loadSideBar($userId)
70 70
     {
Please login to merge, or discard this patch.