@@ -47,7 +47,7 @@ |
||
47 | 47 | /** |
48 | 48 | * Create a new class instance. |
49 | 49 | * |
50 | - * @return void |
|
50 | + * @return boolean|string |
|
51 | 51 | */ |
52 | 52 | public function __construct() |
53 | 53 | { |
@@ -45,7 +45,7 @@ |
||
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 | { |
@@ -61,7 +61,7 @@ |
||
61 | 61 | * Getting User details on the basis of uername or login Id |
62 | 62 | * |
63 | 63 | * @param string $details To store loginid/username |
64 | - * @param boollen $para To store True/False |
|
64 | + * @param boolean $para To store True/False |
|
65 | 65 | * |
66 | 66 | * @return array or null |
67 | 67 | */ |
@@ -47,7 +47,7 @@ |
||
47 | 47 | /** |
48 | 48 | * Create a new class instance. |
49 | 49 | * |
50 | - * @return void |
|
50 | + * @return boolean|string |
|
51 | 51 | */ |
52 | 52 | public function __construct() |
53 | 53 | { |
@@ -15,7 +15,6 @@ |
||
15 | 15 | require_once dirname(__DIR__).'/vendor/autoload.php'; |
16 | 16 | use ChatApp\User; |
17 | 17 | use ChatApp\Conversation; |
18 | -use mysqli; |
|
19 | 18 | use Dotenv\Dotenv; |
20 | 19 | $dotenv = new Dotenv(dirname(__DIR__)); |
21 | 20 | $dotenv->load(); |