Unverified Commit 19916d48 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3018912 by maximpodorov:...

Issue #3018912 by maximpodorov: DefaultMenuLinkTreeManipulators::collectNodeLinks() incorrectly documents its return value

(cherry picked from commit 36409a31)
parent c2bfd009
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -169,9 +169,6 @@ public function checkNodeAccess(array $tree) {
   *   The menu link tree to manipulate.
   * @param array $node_links
   *   Stores references to menu link elements to effectively set access.
   *
   * @return \Drupal\Core\Menu\MenuLinkTreeElement[]
   *   The manipulated menu link tree.
   */
  protected function collectNodeLinks(array &$tree, array &$node_links) {
    foreach ($tree as $key => &$element) {