-
Notifications
You must be signed in to change notification settings - Fork 22
Migration v2 → v3
Sören Jensen edited this page Sep 21, 2025
·
1 revision
Version 3.x has few changes compared to previous version.
Client->setLogger(LoggerInterface $logger): void
Server->setLogger(LoggerInterface $logger): void
MiddlewareHandler->setLogger(LoggerInterface $logger): voidThese methods now return void instead of self.
This means method return can not be chained.
The change makes v3 compliant with psr/log v3.
Client->receive(): MessageThe method no longer has Message|null as return type.
It never returned null before, so only the method profile has changed.
When extending classes in this repo, you might need to implement typed properties in child class.