Skip to content
Snippets Groups Projects
Commit 9f168be9 authored by Markus Klein's avatar Markus Klein Committed by Benni Mack
Browse files

[BUGFIX] Bring declarations of wrapTitle() in line

The declaration of ElementBrowserFolderTreeView::wrapTitle() must match
its parent function's declaration, otherwise PHP7 will issue a warning.

Resolves: #71421
Releases: master
Change-Id: Ib8bf4eba25cf4f1930797276c010c1947b808f59
Reviewed-on: https://review.typo3.org/44620


Reviewed-by: default avatarMichael Oehlhof <typo3@oehlhof.de>
Tested-by: default avatarMichael Oehlhof <typo3@oehlhof.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
parent 419a294c
No related branches found
No related tags found
No related merge requests found
......@@ -53,10 +53,11 @@ class ElementBrowserFolderTreeView extends FolderTreeView
* Wrapping the title in a link, if applicable.
*
* @param string $title Title, ready for output.
* @param Folder $folderObject The "record
* @param Folder $folderObject The record
* @param int $bank Bank pointer (which mount point number)
* @return string Wrapping title string.
*/
public function wrapTitle($title, Folder $folderObject)
public function wrapTitle($title, $folderObject, $bank = 0)
{
if ($this->ext_isLinkable($folderObject)) {
$parameters = GeneralUtility::implodeArrayForUrl('', $this->linkParameterProvider->getUrlParameters(['identifier' => $folderObject->getCombinedIdentifier()]));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment