Skip to content

Fix typed property syntax for PHP 7.3 compatibility in WebhookTest#405

Open
Keith-wright wants to merge 1 commit into
masterfrom
fix/webhook-test-php73-compat
Open

Fix typed property syntax for PHP 7.3 compatibility in WebhookTest#405
Keith-wright wants to merge 1 commit into
masterfrom
fix/webhook-test-php73-compat

Conversation

@Keith-wright
Copy link
Copy Markdown
Contributor

The unit tests added in #404 used public array $logs = [] in anonymous classes, which requires PHP 7.4+. PHP 7.3 is in the test matrix and fails with a syntax error on this line. Removes the type annotation to restore compatibility across all supported PHP versions.

@Keith-wright Keith-wright requested a review from aonemd May 18, 2026 13:19
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