Skip to content

Commit

Permalink
fix route command
Browse files Browse the repository at this point in the history
  • Loading branch information
phphleb committed Aug 4, 2024
1 parent c2cb677 commit 29403e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion HlebBootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function __construct(?string $publicPath = null, array $config = [], ?Log

// The current version of the framework.
// Текущая версия фреймворка.
\defined('HLEB_CORE_VERSION') or \define('HLEB_CORE_VERSION', '2.0.21');
\defined('HLEB_CORE_VERSION') or \define('HLEB_CORE_VERSION', '2.0.22');

$this->logger = $logger;

Expand Down
2 changes: 1 addition & 1 deletion Main/Console/Commands/RouteList.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function sortNestedArrays($origin): array
}
$search[] = $data;
if ($matches) {
$tag = \implode(', ', $keys);
$tag = \implode(', ', \array_unique($keys));
if (isset($result[$tag])) {
$result[$tag] = \array_merge($result[$tag], $matches);
} else {
Expand Down

0 comments on commit 29403e1

Please sign in to comment.