Skip to content

Commit

Permalink
Type hint "array" missing for $install_state.
Browse files Browse the repository at this point in the history
  • Loading branch information
mstenta committed Aug 19, 2020
1 parent 62e1e7e commit 6b46876
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions farm.install
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6b46876

Please sign in to comment.