Skip to content

fix: Update event function code samples when using CloudEventInterface #2082

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

chujchen
Copy link

The previous code samples will fail during the deployment due to the error "PHP message: PHP Fatal error: Uncaught LogicException: Your function must have "Google\CloudFunctions\CloudEvent" as the typehint for ."

See GoogleCloudPlatform/functions-framework-php#116 for details.

@chujchen chujchen requested review from a team as code owners April 21, 2025 20:03
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Apr 21, 2025
@chujchen chujchen changed the title Update event function code samples when using CloudEventInterface fix: Update event function code samples when using CloudEventInterface Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant