[BUGFIX] Adjust signature of PageTreeView::wrapIcon 84/48884/2
authorElmar Hinz <t3elmar@gmail.com>
Fri, 20 May 2016 08:59:42 +0000 (10:59 +0200)
committerBenni Mack <benni@typo3.org>
Mon, 11 Jul 2016 08:59:10 +0000 (10:59 +0200)
Adjust the signature to match the parent class.

Resolves: #76246
Releases: master, 7.6
Change-Id: I5646cbc660be23b5490f3b31708e3c41c1cfa891
Reviewed-on: https://review.typo3.org/48884
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/backend/Classes/View/PageTreeView.php

index 1b06718..8e47d1a 100644 (file)
@@ -63,7 +63,7 @@ class PageTreeView extends BrowseTreeView
      * @param array $row Data row for element.
      * @return string Page icon
      */
-    public function wrapIcon($thePageIcon, &$row)
+    public function wrapIcon($thePageIcon, $row)
     {
         /** @var $iconFactory IconFactory */
         $iconFactory = GeneralUtility::makeInstance(IconFactory::class);