Skip to content

Commit

Permalink
Merge pull request #1949 from atishamte/Toolbar/Router
Browse files Browse the repository at this point in the history
Toobar/Routes correction
  • Loading branch information
lonnieezell authored Apr 17, 2019
2 parents 8592ee1 + 3ffa701 commit eb31af2
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 @@ -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),
];
}

Expand Down

0 comments on commit eb31af2

Please sign in to comment.