Completed
Push — master ( 394d07...75d991 )
by Ankit
02:48
created
src/Receiver.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -24,6 +24,10 @@
 block discarded – undo
24 24
         $this->conversation = new Conversation();
25 25
     }
26 26
 
27
+    /**
28
+     * @param string $msg
29
+     * @param boolean $para
30
+     */
27 31
     public function receiverLoad($msg, $para)
28 32
     {
29 33
         $msg = json_decode($msg);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         $msg = json_encode($msg);
37 37
         $this->messages = json_decode($this->conversation->conversationLoad($msg, $para));
38 38
         // $id1 = json_decode($msg)->details;
39
-        for ($i = 1 ; $i < count($this->messages); $i++) {
39
+        for ($i = 1; $i < count($this->messages); $i++) {
40 40
             $this->messages[$i]->start = $id1;
41 41
         }
42 42
         $id2 = bin2hex(convert_uuencode($id2));
Please login to merge, or discard this patch.
views/account.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
                         <div class="brief">
66 66
                             <h1 id="name">Name: <?php echo $row['name']; ?></h1><br>
67 67
                             <?php foreach ($row as $key => $value) {
68
-                                if ($key =='username' && $value != null) {
68
+                                if ($key == 'username' && $value != null) {
69 69
                                     echo '<p>Username: '.$row["username"].'</p><br>';
70 70
                                 }
71 71
                                 if ($key == 'email' && $value != null) {
Please login to merge, or discard this patch.