Skip to content

Conversation

@timwassenburg
Copy link

This PR addresses deprecated warnings related to the dynamic property Picqer\Api\PicqerWebhook::$rawPayload. The warnings, such as:

PHP Deprecated: Deprecated: Creation of dynamic property Picqer\Api\PicqerWebhook::$rawPayload is deprecated (0) in /var/www/html/vendor/picqer/api-client/src/PicqerWebhook.php:21

occurred because $rawPayload was being dynamically created. This PR resolves the issue by explicitly declaring the $rawPayload property in the PicqerWebhook class to prevent these warnings.

@casperbakker casperbakker merged commit cee5974 into picqer:main Aug 14, 2024
@casperbakker
Copy link
Member

Thanks Tim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants