Skip to content

Commit

Permalink
Use the correct shorthand so we can show parameters in Route Collector.
Browse files Browse the repository at this point in the history
Fixes #762
  • Loading branch information
lonnieezell committed Oct 12, 2017
1 parent 296ddaf commit 0364a8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Debug/Toolbar/Collectors/Routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function display(): string
{
$params[] = [
'name' => $param->getName(),
'value' => $router->params()[$key] ?:
'value' => $router->params()[$key] ??
"<empty>&nbsp| default: " . var_export($param->getDefaultValue(), true)
];
}
Expand Down

0 comments on commit 0364a8a

Please sign in to comment.