mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 23:33:13 +08:00
Update to PHP coding standard 2.4.0
This commit is contained in:
@@ -33,7 +33,7 @@ class ConfigProvider
|
||||
return $healthRoute !== null ? [...$prefixedRoutes, $healthRoute] : $prefixedRoutes;
|
||||
}
|
||||
|
||||
private static function buildUnversionedHealthRouteFromExistingRoutes(array $routes): ?array
|
||||
private static function buildUnversionedHealthRouteFromExistingRoutes(array $routes): array|null
|
||||
{
|
||||
$healthRoutes = array_filter($routes, fn (array $route) => $route['path'] === '/health');
|
||||
$healthRoute = reset($healthRoutes);
|
||||
|
||||
Reference in New Issue
Block a user