[CLEANUP] Adjust code to coding guidelines
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / Core / Bootstrap.php
index 022182f..a4ae7d4 100644 (file)
@@ -270,7 +270,7 @@ class Bootstrap implements \TYPO3\CMS\Extbase\Core\BootstrapInterface {
                if (\TYPO3\CMS\Core\Utility\GeneralUtility::_GP('id')) {
                        // Check page access
                        $permClause = $GLOBALS['BE_USER']->getPagePermsClause(TRUE);
-                       $access = is_array(\TYPO3\CMS\Backend\Utility\BackendUtility::readPageAccess((int) \TYPO3\CMS\Core\Utility\GeneralUtility::_GP('id'), $permClause));
+                       $access = is_array(\TYPO3\CMS\Backend\Utility\BackendUtility::readPageAccess((integer) \TYPO3\CMS\Core\Utility\GeneralUtility::_GP('id'), $permClause));
                        if (!$access) {
                                throw new \RuntimeException('You don\'t have access to this page', 1289917924);
                        }
@@ -290,8 +290,6 @@ class Bootstrap implements \TYPO3\CMS\Extbase\Core\BootstrapInterface {
                print $content;
                return TRUE;
        }
-
 }
 
-
 ?>
\ No newline at end of file