Skip to content

Conversation

kingIZZZY
Copy link

PHP Deprecated: Return type of PrintNode\Entity::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in .../vendor/printnode/printnode-php/src/PrintNode/Entity.php on line 105

Explanation: https://stackoverflow.com/a/71133750
PrintNode's class Entity implements \JsonSerializable: https://www.php.net/manual/en/class.jsonserializable.php

PHP Deprecated: Return type of PrintNode\Entity::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in .../vendor/printnode/printnode-php/src/PrintNode/Entity.php on line 105

Explanation: https://stackoverflow.com/a/71133750
PrintNode's class Entity implements \JsonSerializable: https://www.php.net/manual/en/class.jsonserializable.php
@wouter-toppy
Copy link

@kingIZZZY its also needed on EntityDynamic

@Tjitse-E Tjitse-E mentioned this pull request Oct 13, 2022
@DjThossi
Copy link

When will this be merged? It's annoying to get every time a Sentry message for this.

@tomaszdurda
Copy link
Contributor

This was done as part of a7616cf.

@neopheus
Copy link

Fix here : #57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants