Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing namespace import in MysqlClient #193

Merged
merged 1 commit into from
Apr 28, 2024

Commits on Mar 20, 2024

  1. Add missing namespace import in MysqlClient

    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' returned
    bwaidelich authored Mar 20, 2024
    Configuration menu
    Copy the full SHA
    7a5a9e6 View commit details
    Browse the repository at this point in the history