Skip to content

Compatibility PHP 8.4 #25

@ime04

Description

@ime04

In PHP version 8.4, this code in the ProjectModel class has been marked as deprecated:
public function setDeadline(string $deadline = null)

This results in the following error:
Deprecated:
SmartCat\Client\Model\ProjectModel::setDeadline(): Implicitly marking parameter $deadline as nullable is deprecated, the explicit nullable type must be used instead in /vhosts/uptodown.com/vendor/smartcat/smartcat-api/src/SmartCAT/API/Model/ProjectModel.php on line 138

This happens with several methods in this class, and I’m not sure if it affects others as well.

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