Closed rdrenth closed 2 years ago
Hi there, thanks to reporting this. Indeed it looks like a mistake by me, sorry about that.
Trying to think about this without need to release a major version just to update it
I am having the same issue. laravel 8.77.1 php 8.1
I had to downgrade to v2.9.0
@Arkanius Is it going to be fixed?
Will this be addressed at some point? Thanks.
Thanks guys,
Rollback applied as https://github.com/swooletw/laravel-swoole/releases/tag/v2.12.1
@hadiaec20h @rdrenth
Make sure you read Issues Guideline and answer these questions before submitting your issue. Thanks! (Any non-English issues will be closed immediately.)
php -v
andphp --ri swoole
)php -v
php --ri swoole
php artisan --version
v2.10.0
Emit an event where
$input->getEventName()
is astring
, and where$input->getEventPayload()
is anarray
.An succesful emitted event.
An exception was thrown.
This issue and related PR caused this to break since version 2.10.0. The constructor
$message
property was type-hinted as?string
, while it was amixed
type and also documented as amixed
type on the wiki (function emit).See constructor of class
SwooleTW\Http\Websocket\Pusher
:Can you please correct this breaking change, thank you.