swooletw / laravel-swoole

High performance HTTP server based on Swoole. Speed up your Laravel or Lumen applications.
MIT License
4.04k stars 390 forks source link

Solved problem on __construct parameter #502

Closed ilbeygi closed 2 years ago

ilbeygi commented 3 years ago

Get this : ErrorException: Required parameter $server follows optional parameter $message in /var/www/html/test/LumenWebSocket/vendor/swooletw/laravel-swoole/src/Websocket/Pusher.php:64

To solve this problem, it is better to move the variables.

Arkanius commented 3 years ago

Are you using php8, right?

ilbeygi commented 3 years ago

Are you using php8, right?

Yeah, I used PHP8

albertcht commented 2 years ago

Hi @ilbeygi,

This is duplicated with #476 , so I will close this one.