diff --git a/core/modules/taxonomy/src/TermInterface.php b/core/modules/taxonomy/src/TermInterface.php index faf2081..d708d95 100644 --- a/core/modules/taxonomy/src/TermInterface.php +++ b/core/modules/taxonomy/src/TermInterface.php @@ -104,7 +104,7 @@ public function setWeight($weight); public function getVocabularyId(); /** - * Get the depth of a term in a vocabulary. + * Gets the depth of a term in a vocabulary. * * @return int * The depth of the term in the hierarchy; 0 is root level. diff --git a/core/modules/taxonomy/src/TermStorage.php b/core/modules/taxonomy/src/TermStorage.php index 8156213..63e8144 100644 --- a/core/modules/taxonomy/src/TermStorage.php +++ b/core/modules/taxonomy/src/TermStorage.php @@ -289,4 +289,5 @@ public function getNodeTerms($nids, $vocabs = array(), $langcode = NULL) { } return $terms; } + } diff --git a/core/modules/taxonomy/src/TermStorageInterface.php b/core/modules/taxonomy/src/TermStorageInterface.php index 09a860b..d3825a1 100644 --- a/core/modules/taxonomy/src/TermStorageInterface.php +++ b/core/modules/taxonomy/src/TermStorageInterface.php @@ -86,7 +86,7 @@ public function nodeCount($vid); public function resetWeights($vid); /** - * Return all terms used to tag some given nodes. + * Returns all terms used to tag some given nodes. * * @param array $nids * Node IDs to retrieve terms for. @@ -99,4 +99,5 @@ public function resetWeights($vid); * An array of nids and the term entities they were tagged with. */ public function getNodeTerms($nids, $vocabs = array(), $langcode = NULL); + }