Type hint "array" missing for $install_state.

This commit is contained in:
Michael Stenta 2020-08-18 08:43:47 -04:00
parent 62e1e7ecdd
commit 6b468768a2
1 changed files with 2 additions and 2 deletions

View File

@ -43,13 +43,13 @@ function farm_install_tasks_alter(&$tasks, $install_state) {
/**
* Installs farmOS modules via a batch process.
*
* @param $install_state
* @param array $install_state
* An array of information about the current installation state.
*
* @return array
* The batch definition.
*/
function farm_install_modules(&$install_state) {
function farm_install_modules(array &$install_state) {
// Load the list of modules that should be installed. This state is set by
// the \Drupal\farm\Form\FarmModulesForm submit method.