@@ -99,7 +99,7 @@ $factory = new React\MySQL\Factory(null, $connector);
9999
100100#### createConnection()  
101101
102- The ` createConnection(string $url): PromiseInterface<ConnectionInterface, Exception > `  method can be used to
102+ The ` createConnection(string $url): PromiseInterface<ConnectionInterface> `  method can be used to
103103create a new [ ` ConnectionInterface ` ] ( #connectioninterface ) .
104104
105105It helps with establishing a TCP/IP connection to your MySQL database
@@ -311,7 +311,7 @@ and sending your database queries.
311311
312312#### query()  
313313
314- The ` query(string $query, array $params = []): PromiseInterface `  method can be used to
314+ The ` query(string $query, array $params = []): PromiseInterface<QueryResult>  `  method can be used to
315315perform an async query.
316316
317317This method returns a promise that will resolve with a ` QueryResult `  on
@@ -424,7 +424,7 @@ suited for exposing multiple possible results.
424424
425425#### ping()  
426426
427- The ` ping(): PromiseInterface<void, Exception > `  method can be used to
427+ The ` ping(): PromiseInterface<void> `  method can be used to
428428check that the connection is alive.
429429
430430This method returns a promise that will resolve (with a void value) on
@@ -443,7 +443,7 @@ $connection->ping()->then(function () {
443443
444444#### quit()  
445445
446- The ` quit(): PromiseInterface<void, Exception > `  method can be used to
446+ The ` quit(): PromiseInterface<void> `  method can be used to
447447quit (soft-close) the connection.
448448
449449This method returns a promise that will resolve (with a void value) on
0 commit comments