@@ -13,7 +13,6 @@ |
||
13 | 13 | namespace ChatApp; |
14 | 14 | |
15 | 15 | require_once dirname(__DIR__).'/vendor/autoload.php'; |
16 | -use ChatApp\Session; |
|
17 | 16 | use Dotenv\Dotenv; |
18 | 17 | $dotenv = new Dotenv(dirname(__DIR__)); |
19 | 18 | $dotenv->load(); |
@@ -76,7 +76,7 @@ |
||
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)); |