diff --git a/core/modules/field/field.form.inc b/core/modules/field/field.form.inc
index 1ba3e9c..6f99192 100644
--- a/core/modules/field/field.form.inc
+++ b/core/modules/field/field.form.inc
@@ -188,11 +188,11 @@ function field_add_more_js($form, $form_state) {
 /**
  * Retrieves processing information about a field from $form_state.
  *
- * @param $parents
+ * @param array $parents
  *   The array of #parents where the field lives in the form.
  * @param $field_name
  *   The field name.
- * @param $form_state
+ * @param array $form_state
  *   The form state.
  *
  * @return
@@ -205,7 +205,7 @@ function field_add_more_js($form, $form_state) {
  *
  * @see field_form_set_state()
  */
-function field_form_get_state($parents, $field_name, &$form_state) {
+function field_form_get_state(array $parents, $field_name, array &$form_state) {
   $form_state_parents = _field_form_state_parents($parents, $field_name);
   return NestedArray::getValue($form_state, $form_state_parents);
 }
@@ -213,19 +213,19 @@ function field_form_get_state($parents, $field_name, &$form_state) {
 /**
  * Stores processing information about a field in $form_state.
  *
- * @param $parents
+ * @param array $parents
  *   The array of #parents where the field lives in the form.
  * @param $field_name
  *   The field name.
- * @param $form_state
+ * @param array $form_state
  *   The form state.
- * @param $field_state
+ * @param array $field_state
  *   The array of data to store. See field_form_get_state() for the structure
  *   and content of the array.
  *
  * @see field_form_get_state()
  */
-function field_form_set_state($parents, $field_name, &$form_state, $field_state) {
+function field_form_set_state(array $parents, $field_name, array &$form_state, array $field_state) {
   $form_state_parents = _field_form_state_parents($parents, $field_name);
   NestedArray::setValue($form_state, $form_state_parents, $field_state);
 }
@@ -233,7 +233,7 @@ function field_form_set_state($parents, $field_name, &$form_state, $field_state)
 /**
  * Returns the location of processing information within $form_state.
  *
- * @param $parents
+ * @param array $parents
  *   The array of #parents where the field lives in the form.
  * @param $field_name
  *   The field name.
@@ -241,7 +241,7 @@ function field_form_set_state($parents, $field_name, &$form_state, $field_state)
  * @return
  *   The location of processing information within $form_state.
  */
-function _field_form_state_parents($parents, $field_name) {
+function _field_form_state_parents(array $parents, $field_name) {
   // Field processing data is placed at
   // $form_state['field']['#parents'][...$parents...]['#fields'][$field_name],
   // to avoid clashes between field names and $parents parts.
diff --git a/core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php b/core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php
index 5776f84..26b4dc6 100644
--- a/core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php
+++ b/core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php
@@ -247,7 +247,7 @@ function testAddOrphanTopic() {
 
     // Create an orphan forum item.
     $this->drupalLogin($this->admin_user);
-    $this->drupalPostForm('node/add/forum', array('title' => $this->randomName(10), 'body[[0][value]' => $this->randomName(120)), t('Save'));
+    $this->drupalPostForm('node/add/forum', array('title' => $this->randomName(10), 'body[0][value]' => $this->randomName(120)), t('Save'));
 
     $nid_count = db_query('SELECT COUNT(nid) FROM {node}')->fetchField();
     $this->assertEqual(0, $nid_count, 'A forum node was not created when missing a forum vocabulary.');
