Commit c7b117b2 authored by catch's avatar catch
Browse files

Issue #2659564 by miteshmap: Wrong return type in TermStorageInterface::loadTree()

parent 8e7debfd
Loading
Loading
Loading
Loading
+1 −1
Changes for core/modules/taxonomy/src/TermStorageInterface.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -83,7 +83,7 @@ public function loadChildren($tid, $vid = NULL);
   *   table to save execution time and memory consumption when listing large
   *   numbers of terms. Defaults to FALSE.
   *
   * @return \Drupal\taxonomy\TermInterface[]
   * @return object[]|\Drupal\taxonomy\TermInterface[]
   *   An array of term objects that are the children of the vocabulary $vid.
   */
  public function loadTree($vid, $parent = 0, $max_depth = NULL, $load_entities = FALSE);