Skip to content

Conversation

@binaryfire
Copy link
Contributor

The fireModelEvent() method returns object|null in Hyperf, not bool. Changed from Laravel-style === false comparison to Hyperf's PSR-14 StoppableEventInterface pattern to properly check if event propagation should be stopped.

The fireModelEvent() method returns object|null in Hyperf, not bool.
Changed from Laravel-style `=== false` comparison to Hyperf's PSR-14
StoppableEventInterface pattern to properly check if event propagation
should be stopped.
@albertcht albertcht added the bug Something isn't working label Jan 5, 2026
@albertcht albertcht merged commit 6015417 into hypervel:main Jan 5, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants