| Conditions | 4 | 
| Paths | 4 | 
| Total Lines | 20 | 
| Code Lines | 12 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 2 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 30 | #[Override] | ||
| 31 | public function match(array $globals, array $server) | ||
| 32 |     { | ||
| 33 |         foreach ($this->routers as $route) { | ||
| 34 |             try { | ||
| 35 | $match = $route->match($globals, $server); | ||
| 36 |             } catch (Throwable $e) { | ||
| 37 | $e = new RouterException($e->getMessage(), (int) $e->getCode(), $e->getPrevious()); | ||
| 38 | /** @noinspection ForgottenDebugOutputInspection */ | ||
| 39 | error_log((string) $e); | ||
| 40 | |||
| 41 | return $this->routeNotFound(); | ||
| 42 | } | ||
| 43 | |||
| 44 |             if (! $match instanceof NullMatch) { | ||
| 45 | return $match; | ||
| 46 | } | ||
| 47 | } | ||
| 48 | |||
| 49 | return $this->routeNotFound(); | ||
| 50 | } | ||
| 73 |