diff --git a/system/Debug/Toolbar/Collectors/Routes.php b/system/Debug/Toolbar/Collectors/Routes.php
index bc9c595ae637..2e3a1e382855 100644
--- a/system/Debug/Toolbar/Collectors/Routes.php
+++ b/system/Debug/Toolbar/Collectors/Routes.php
@@ -97,7 +97,7 @@ public function display(): array
 			$params[] = [
 				'name'  => $param->getName(),
 				'value' => $router->params()[$key] ??
-				'<empty>&nbsp| default: ' . var_export($param->getDefaultValue(), true),
+					'<empty>&nbsp| default: ' . var_export($param->isDefaultValueAvailable() ? $param->getDefaultValue() : null, true),
 			];
 		}