Skip to content

Deprecation warnings about implicit null #20

Description

@tminich

After updating to the latest version there are still two warnings I get about implicit null in the constructor of HibpHttp:

PHP Deprecated:  Icawebdesign\Hibp\HibpHttp::__construct(): Implicitly marking parameter $apiKey as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/icawebdesign/hibp-php/src/HibpHttp.php on line 15
PHP Deprecated:  Icawebdesign\Hibp\HibpHttp::__construct(): Implicitly marking parameter $client as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/icawebdesign/hibp-php/src/HibpHttp.php on line 15

I've also noticed there is more implicit null in BreachInterface.

I can create and submit a PR if you want.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions