Update codestyle based on updated Symfony rules (#229)

This commit is contained in:
Christopher Hertel 2026-02-01 11:54:31 +01:00 • committed by GitHub
commit c081b90d74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,20 +48,20 @@ final class ServerTest extends TestCase
$this->transport->expects($this->once())
->method('initialize')
->willReturnCallback(function () use (&$callOrder) {
->willReturnCallback(static function () use (&$callOrder) {
$callOrder[] = 'initialize';
});
$this->protocol->expects($this->once())
->method('connect')
->with($this->transport)
->willReturnCallback(function () use (&$callOrder) {
->willReturnCallback(static function () use (&$callOrder) {
$callOrder[] = 'connect';
});
$this->transport->expects($this->once())
->method('listen')
->willReturnCallback(function () use (&$callOrder) {
->willReturnCallback(static function () use (&$callOrder) {
$callOrder[] = 'listen';
return 0;
@ -69,7 +69,7 @@ final class ServerTest extends TestCase
$this->transport->expects($this->once())
->method('close')
->willReturnCallback(function () use (&$callOrder) {
->willReturnCallback(static function () use (&$callOrder) {
$callOrder[] = 'close';
});