If the line declaring an array spans longer than 80 characters, each element should be broken into its own line.

This commit is contained in:
Michael Stenta 2020-08-18 08:43:30 -04:00
parent 84db82b9b9
commit 62e1e7ecdd
1 changed files with 7 additions and 1 deletions

View File

@ -61,7 +61,13 @@ function farm_install_modules(&$install_state) {
// Assemble the batch operation for installing modules.
$operations = [];
foreach ($modules as $module => $weight) {
$operations[] = ['_farm_install_module_batch', [$module, $files[$module]->info['name']]];
$operations[] = [
'_farm_install_module_batch',
[
$module,
$files[$module]->info['name'],
],
];
}
$batch = [
'operations' => $operations,