• Resolved Henk Barreveld

    (@henk-barreveld)


    Hello,

    This may not be serious, but please be aware that VS Code gives me two PHP error messages $this can not be used in static methods. for your file \mailpoet\vendor-prefixed\nesbot\carbon\src\Carbon\Traits\Mixin.php.

    This is about the code $context = isset($this) ? $this->cast($className) : new $className(); in that file.

    Best regards,
    Henk

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author MailPoet

    (@mailpoet)

    Hi @henk-barreveld

    Thanks for the feedback, we’ll forward this to our developers.

    Plugin Author MailPoet

    (@mailpoet)

    Hi @henk-barreveld,

    Thank you for your report.

    This is the 3rd party library nesbot/carbon. The developers of this library refactored this functionality three months ago, and it looks that these error warnings in IDE aren’t a problem.

    Best regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP error in Mixin.php’ is closed to new replies.