[BUGFIX] Adjust signature of PageTreeView::wrapIcon 29/48229/6
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:58:51 +0000 (10:58 +0200)
Adjust the signature to match the parent class.

Resolves: #76246
Releases: master, 7.6
Change-Id: I5646cbc660be23b5490f3b31708e3c41c1cfa891
Reviewed-on: https://review.typo3.org/48229
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Claus Due <claus@phpmind.net>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/backend/Classes/View/PageTreeView.php

index f5f506f..901dee1 100644 (file)
@@ -53,7 +53,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);