diff --git a/islandora/fedora_resource.page.inc b/islandora/fedora_resource.page.inc index 92d5855c..fd28f0b3 100644 --- a/islandora/fedora_resource.page.inc +++ b/islandora/fedora_resource.page.inc @@ -51,7 +51,7 @@ function template_preprocess_fedora_resource(array &$variables) { * * @see block_content_add_page() */ -function template_preprocess_fedora_resource_content_add_list(&$variables) { +function template_preprocess_fedora_resource_content_add_list(array &$variables) { $variables['types'] = array(); $query = \Drupal::request()->query->all(); foreach ($variables['content'] as $type) { diff --git a/islandora/src/Form/FedoraResourceEntityInlineForm.php b/islandora/src/Form/FedoraResourceEntityInlineForm.php index d6c01e93..802f78f6 100644 --- a/islandora/src/Form/FedoraResourceEntityInlineForm.php +++ b/islandora/src/Form/FedoraResourceEntityInlineForm.php @@ -246,6 +246,7 @@ class FedoraResourceEntityInlineForm extends EntityInlineForm implements InlineF * @param \Drupal\Core\Form\FormStateInterface $form_state * The form state of the parent form. */ + // @codingStandardsIgnoreLine public static function submitCleanFormState(&$entity_form, FormStateInterface $form_state) { $info = \Drupal::entityTypeManager()->getDefinition($entity_form['#entity_type']); if (!$info->get('field_ui_base_route')) { diff --git a/islandora/src/Plugin/Search/FedoraEntitySearch.php b/islandora/src/Plugin/Search/FedoraEntitySearch.php index 4fd13e50..6bec2546 100644 --- a/islandora/src/Plugin/Search/FedoraEntitySearch.php +++ b/islandora/src/Plugin/Search/FedoraEntitySearch.php @@ -719,7 +719,7 @@ class FedoraResourceSearch extends ConfigurableSearchPluginBase implements Acces * Array of default form values for the advanced search form, including * a modified 'keys' element for the bare search keywords. */ - protected function parseAdvancedDefaults($f, $keys) { + protected function parseAdvancedDefaults(array $f, $keys) { $defaults = array(); // Split out the advanced search parameters.