Skip to content

Commit 0364a8a

Browse files
committed
Use the correct shorthand so we can show parameters in Route Collector. Fixes #762
1 parent 296ddaf commit 0364a8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Debug/Toolbar/Collectors/Routes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function display(): string
9696
{
9797
$params[] = [
9898
'name' => $param->getName(),
99-
'value' => $router->params()[$key] ?:
99+
'value' => $router->params()[$key] ??
100100
"<empty>&nbsp| default: " . var_export($param->getDefaultValue(), true)
101101
];
102102
}

0 commit comments

Comments
 (0)