mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 13:33:14 +00:00
Use short array declaration
This commit is contained in:
@@ -58,7 +58,7 @@ class module_console_systemUpgrade extends Command
|
||||
|
||||
do {
|
||||
$continue = mb_strtolower($dialog->ask($output, '<question>' . _('Continuer ?') . ' (Y/n)</question>', 'Y'));
|
||||
} while (!in_array($continue, array('y', 'n')));
|
||||
} while (!in_array($continue, ['y', 'n']));
|
||||
} else {
|
||||
$continue = 'y';
|
||||
}
|
||||
|
Reference in New Issue
Block a user