mirror of
https://github.com/FriendsOfTYPO3/feedit.git
synced 2024-11-09 17:26:09 +01:00
[TASK] Use ::class instead of strings
In some cases makeInstance is used with strings instead of ::class. This patch fix it. Resolves: #65704 Releases: master Change-Id: I69afa653f50efbebaa7456acfb5d20f401e639fb Reviewed-on: http://review.typo3.org/37798 Reviewed-by: Frank Nägler <typo3@naegler.net> Tested-by: Frank Nägler <typo3@naegler.net> Reviewed-by: Stephan Großberndt <stephan@grossberndt.de> Reviewed-by: Michael Oehlhof <typo3@oehlhof.de> Reviewed-by: Markus Klein <klein.t3@reelworx.at> Tested-by: Markus Klein <klein.t3@reelworx.at>
This commit is contained in:
parent
b6b1157f6c
commit
c819ea0633
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class FrontendEditPanel {
|
||||||
$this->databaseConnection = $databaseConnection ?: $GLOBALS['TYPO3_DB'];
|
$this->databaseConnection = $databaseConnection ?: $GLOBALS['TYPO3_DB'];
|
||||||
$this->frontendController = $frontendController ?: $GLOBALS['TSFE'];
|
$this->frontendController = $frontendController ?: $GLOBALS['TSFE'];
|
||||||
$this->backendUser = $backendUser ?: $GLOBALS['BE_USER'];
|
$this->backendUser = $backendUser ?: $GLOBALS['BE_USER'];
|
||||||
$this->cObj = GeneralUtility::makeInstance('TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectRenderer');
|
$this->cObj = GeneralUtility::makeInstance(\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::class);
|
||||||
$this->cObj->start(array());
|
$this->cObj->start(array());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue