Skip to content

PHP 8.4 issue - Implicitly marking parameter $previous as nullable is deprecated, the explicit nullable type must be used instead #49

@marco-exads

Description

@marco-exads

Hello,

due to this line the library is not working on PHP 8.4 when the request return an error.

Can this be fixed with the following?

public function __construct($message = "", $code = 0, null|Exception $previous = null, $status = null, $data = null)

Have a nice day!
Marco

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