@@ -48,7 +48,7 @@ |
||
| 48 | 48 | $c = new Clustered(DI::get(Resources::class), ...($tags ?? [])); |
| 49 | 49 | |
| 50 | 50 | // custom configure |
| 51 | - $c->configure(static function (string $server) use ($app) { |
|
| 51 | + $c->configure(static function(string $server) use ($app) { |
|
| 52 | 52 | return $app->conf()->bind( |
| 53 | 53 | (new HOptions()) |
| 54 | 54 | ->setTimeouts() |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | */ |
| 31 | 31 | public function starting(Application $app) : void |
| 32 | 32 | { |
| 33 | - $handler = static function ($value) { |
|
| 33 | + $handler = static function($value) { |
|
| 34 | 34 | if (is_null($value)) { |
| 35 | 35 | Client::layers()->remove(ContextPacking::class); |
| 36 | 36 | return; |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | || Client::layers()->prepend(Invoker::class, $client); |
| 58 | 58 | }; |
| 59 | 59 | |
| 60 | - $app->starting()->add(static function () use ($app, $handler) { |
|
| 60 | + $app->starting()->add(static function() use ($app, $handler) { |
|
| 61 | 61 | $app->conf()->watching(self::CONF_KEY, $handler); |
| 62 | 62 | }); |
| 63 | 63 | } |