Skip to content

Commit ed779bb

Browse files
committed
Refactor and normalize qualifier assembly
1 parent 518d452 commit ed779bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/framework/src/Console/Commands/RouteListCommand.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ public function handle(): int
3535

3636
protected function generate(): array
3737
{
38-
return array_map(RouteListItem::class.'::format', array_values(Hyde::routes()->all()));
38+
return array_map([RouteListItem::class, 'format'], array_values(Hyde::routes()->all()));
3939
}
4040

4141
protected function makeHeader(array $routes): array
4242
{
43-
return array_map('\Hyde\make_title', array_keys($routes[0]));
43+
return array_map([Hyde::class, 'makeTitle'], array_keys($routes[0]));
4444
}
4545
}

0 commit comments

Comments
 (0)