Skip to content

Conversation

@dunglas
Copy link
Member

@dunglas dunglas commented Dec 13, 2025

Adds a change missed in #1894.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a missed API update in the go_mercure_publish function to align with the new GoPackedArray() API signature introduced in PR #1894. The function now correctly extracts the zend_array pointer from the PHP zval structure before passing it to GoPackedArray.

  • Corrects the argument passed to GoPackedArray[string]() to extract the array value from the zval structure
  • Maintains consistency with the zend_string extraction pattern on the adjacent line

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dunglas dunglas merged commit f02e6f2 into main Dec 13, 2025
33 checks passed
@dunglas dunglas deleted the fix/mercure_publish branch December 13, 2025 18:30
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.

2 participants