diff --git a/core/modules/taxonomy/src/Tests/Views/TaxonomyTestBase.php b/core/modules/taxonomy/src/Tests/Views/TaxonomyTestBase.php
index cb16f1a..5c85fc1 100644
--- a/core/modules/taxonomy/src/Tests/Views/TaxonomyTestBase.php
+++ b/core/modules/taxonomy/src/Tests/Views/TaxonomyTestBase.php
@@ -55,6 +55,9 @@
    */
   protected $term2;
 
+  /**
+   * {@inheritdoc}
+   */
   protected function setUp() {
     parent::setUp();
     $this->mockStandardInstall();
@@ -75,6 +78,9 @@ protected function setUp() {
   /**
    * Provides a workaround for the inability to use the standard profile.
    *
+   * @param array
+   *   - vid: Vocabulary ID.
+   *
    * @see https://www.drupal.org/node/1708692
    */
   protected function mockStandardInstall() {
@@ -119,13 +125,22 @@ protected function mockStandardInstall() {
   }
 
   /**
-   * Returns a new term with random properties in vocabulary $vid.
+   * Creates and returns a taxonomy term.
    *
    * @param array $settings
-   *   (Optional) An associative array of settings to pass to `entity_create`.
+   *   (optional) An array of values to override
+   *   the following default properties of the term:
+   *   - name: A random string.
+   *   - description: A random string.
+   *   - format: First available text format.
+   *   - vid: Vocabulary ID.
+   *   - langcode: LANGCODE_NOT_SPECIFIED.
+   *   Defaults to an empty array.
    *
    * @return \Drupal\taxonomy\Entity\Term
    *   The created taxonomy term.
+   *
+   * @see \Drupal\taxonomy\Tests\Views\TaxonomyTestBase::$vocabulary
    */
   protected function createTerm(array $settings = []) {
     $filter_formats = filter_formats();
