diff --git a/composer.json b/composer.json index 663387c..f2eb10e 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,7 @@ ], "require": { "php": ">=8.3", - "aplus/debug": "^4.0", + "aplus/debug": "^4.3", "aplus/http": "^6.0", "aplus/language": "^4.0" }, diff --git a/src/Debug/RoutingCollector.php b/src/Debug/RoutingCollector.php index 3b5bd55..70e7741 100644 --- a/src/Debug/RoutingCollector.php +++ b/src/Debug/RoutingCollector.php @@ -11,6 +11,7 @@ use Closure; use Framework\Debug\Collector; +use Framework\Debug\Debugger; use Framework\Routing\RouteCollection; use Framework\Routing\Router; @@ -135,8 +136,8 @@ protected function renderMatchedRoute() : string
Time to Serve: ' - . \round($data['end'] - $data['start'], 6) - . '
'; + . Debugger::roundSecondsToMilliseconds($data['end'] - $data['start']) + . ' ms'; break; } } diff --git a/tests/Support/WithRouteActions.php b/tests/Support/WithRouteActions.php index 2bfcf94..671811d 100644 --- a/tests/Support/WithRouteActions.php +++ b/tests/Support/WithRouteActions.php @@ -34,7 +34,7 @@ public function index(string ...$params) : string * @param int $int * @param string $string * - * @return arrayNote: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: