@@ -106,9 +106,9 @@ public function deactivateTcaFrontendGroupEnableFields(&$parameters, $parentObje
106
106
*
107
107
* @param integer The page ID
108
108
* @param boolean If set, the check for group access is disabled. VERY rarely used
109
- * @param t3lib_pageSelect parent t3lib_pageSelect object
109
+ * @param \TYPO3\CMS\Frontend\Page\PageRepository parent t3lib_pageSelect object
110
110
*/
111
- public function getPage_preProcess (&$ uid , &$ disableGroupAccessCheck , t3lib_pageSelect $ parentObject ) {
111
+ public function getPage_preProcess (&$ uid , &$ disableGroupAccessCheck , \ TYPO3 \ CMS \ Frontend \ Page \ PageRepository $ parentObject ) {
112
112
$ disableGroupAccessCheck = TRUE ;
113
113
$ parentObject ->where_groupAccess = '' ; // just to be on the safe side
114
114
}
@@ -119,9 +119,9 @@ public function getPage_preProcess(&$uid, &$disableGroupAccessCheck, t3lib_pageS
119
119
*
120
120
* @param array Page record
121
121
* @param integer Overlay language ID
122
- * @param t3lib_pageSelect Parent t3lib_pageSelect object
122
+ * @param \TYPO3\CMS\Frontend\Page\PageRepository Parent t3lib_pageSelect object
123
123
*/
124
- public function getPageOverlay_preProcess (&$ pageRecord , &$ languageUid , t3lib_pageSelect $ parentObject ) {
124
+ public function getPageOverlay_preProcess (&$ pageRecord , &$ languageUid , \ TYPO3 \ CMS \ Frontend \ Page \ PageRepository $ parentObject ) {
125
125
if (is_array ($ pageRecord )) {
126
126
$ pageRecord ['fe_group ' ] = '' ;
127
127
$ pageRecord ['extendToSubpages ' ] = '0 ' ;
@@ -133,9 +133,9 @@ public function getPageOverlay_preProcess(&$pageRecord, &$languageUid, t3lib_pag
133
133
/**
134
134
* Hook for post processing the initialization of tslib_cObj
135
135
*
136
- * @param tslib_cObj parent content object
136
+ * @param \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer parent content object
137
137
*/
138
- public function postProcessContentObjectInitialization (tslib_cObj &$ parentObject ) {
138
+ public function postProcessContentObjectInitialization (\ TYPO3 \ CMS \ Frontend \ ContentObject \ ContentObjectRenderer &$ parentObject ) {
139
139
if (!empty ($ parentObject ->currentRecord )) {
140
140
list ($ table ) = explode (': ' , $ parentObject ->currentRecord );
141
141
0 commit comments