Skip to content

Fix Warning PHP #86

@Emi912

Description

@Emi912

setcookie(): Passing null to parameter #5 ($domain) of type string is deprecated
in setcookie called at /var/application/app-src/vendor/dailymotion/sdk/Dailymotion.php (767)

setcookie($cookieName, $value, $expires, '/', $this->cookieDomain);

Fix warning

public $cookieDomain = null;

change to

public $cookieDomain = "";

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