File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ private function addInfoToAboutCommand()
3636 return ;
3737 }
3838
39- \BlitzPHP \Cli \Commands \Utilities \About::add ('Gestionnaires ' , static fn () => array_filter ([
40- 'Base de données ' => static function (ConnectionResolverInterface $ connectionResolver ) {
39+ \BlitzPHP \Cli \Commands \Utilities \About::add ('Gestionnaires ' , static fn (ConnectionResolverInterface $ connectionResolver ) => array_filter ([
40+ 'Base de données ' => static function () use ( $ connectionResolver ) {
4141 [$ group , $ config ] = $ connectionResolver ->connectionInfo ();
4242
4343 if (empty ($ group )) {
@@ -56,6 +56,9 @@ private function addInfoToAboutCommand()
5656 if (! empty ($ config ['username ' ])) {
5757 $ output .= '@ ' . $ config ['username ' ];
5858 }
59+ if (! empty ($ config ['database ' ])) {
60+ $ output .= '/ ' . $ config ['database ' ];
61+ }
5962
6063 return $ group . ' [ ' . $ output . '] ' ;
6164 },
You can’t perform that action at this time.
0 commit comments