Skip to content

Implicitly marking parameters as nullable is deprecated, the explicit nullable type must be used instead #213

Description

@andyexeter

Since PHP 8.4, it is now deprecated to not mark parameters as explicitly nullable: https://wiki.php.net/rfc/deprecate-implicitly-nullable-types

There are a number of places in this library that need updating to fix these deprecations. For example, this:

public function __construct(\CyberSource\Configuration $config = null, \CyberSource\Authentication\Core\MerchantConfiguration $merchantConfig = null)

Needs to be updated to:

public function __construct(?\CyberSource\Configuration $config = null, ?\CyberSource\Authentication\Core\MerchantConfiguration $merchantConfig = null)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions