Commit 7a5a9e6
authored
Add missing namespace import in
Adds a missing `use` statement for the `PromiseInterface` type to `MysqlClient`.
Without that change, using the API leads to type warnings:
```php
function someMethod(): PromiseInterface {
return $this->mysql->query(...);
}
// Return value is expected to be '\React\Promise\PromiseInterface', '\React\Mysql\PromiseInterface' returnedMysqlClient
1 parent 3cf70c6 commit 7a5a9e6
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
0 commit comments