@@ -43,8 +43,10 @@ |
||
| 43 | 43 | { |
| 44 | 44 | $state->setTag('php', phpversion()); |
| 45 | 45 | |
| 46 | - if ($this->container->get(DispatcherInterface::class)) { |
|
| 47 | - switch (get_class($this->container->get(DispatcherInterface::class))) { |
|
| 46 | + if ($this->container->get(DispatcherInterface::class)) |
|
| 47 | + { |
|
| 48 | + switch (get_class($this->container->get(DispatcherInterface::class))) |
|
| 49 | + { |
|
| 48 | 50 | case RrDispatcher::class: |
| 49 | 51 | $state->setTag('dispatcher', 'roadrunner'); |
| 50 | 52 | break; |
@@ -74,7 +74,8 @@ |
||
| 74 | 74 | |
| 75 | 75 | $kernel->addDispatcher($factory->make(SapiDispatcher::class)); |
| 76 | 76 | |
| 77 | - if (class_exists(PSR7Client::class)) { |
|
| 77 | + if (class_exists(PSR7Client::class)) |
|
| 78 | + { |
|
| 78 | 79 | $kernel->addDispatcher($factory->make(RrDispatcher::class)); |
| 79 | 80 | } |
| 80 | 81 | } |