We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | if (!$this->MCONF['name']) { |
| 160 | 160 | $this->MCONF = $GLOBALS['MCONF']; |
| 161 | 161 | } |
| 162 | - $this->id = (int)GeneralUtility::_GP('id'); |
|
| 162 | + $this->id = (int) GeneralUtility::_GP('id'); |
|
| 163 | 163 | $this->CMD = GeneralUtility::_GP('CMD'); |
| 164 | 164 | $this->perms_clause = $this->getBackendUser()->getPagePermsClause(1); |
| 165 | 165 | $this->menuConfig(); |
@@ -229,7 +229,7 @@ discard block |
||
| 229 | 229 | $mergeArray = $GLOBALS['TBE_MODULES_EXT'][$modName]['MOD_MENU'][$menuKey]; |
| 230 | 230 | if (is_array($mergeArray)) { |
| 231 | 231 | foreach ($mergeArray as $k => $v) { |
| 232 | - if (((string)$v['ws'] === '' || $this->getBackendUser()->workspace === 0 && GeneralUtility::inList($v['ws'], 'online')) || $this->getBackendUser()->workspace === -1 && GeneralUtility::inList($v['ws'], 'offline') || $this->getBackendUser()->workspace > 0 && GeneralUtility::inList($v['ws'], 'custom')) { |
|
| 232 | + if (((string) $v['ws'] === '' || $this->getBackendUser()->workspace === 0 && GeneralUtility::inList($v['ws'], 'online')) || $this->getBackendUser()->workspace === -1 && GeneralUtility::inList($v['ws'], 'offline') || $this->getBackendUser()->workspace > 0 && GeneralUtility::inList($v['ws'], 'custom')) { |
|
| 233 | 233 | $menuArr[$k] = $this->getLanguageService()->sL($v['title']); |
| 234 | 234 | } |
| 235 | 235 | } |
@@ -265,7 +265,7 @@ discard block |
||
| 265 | 265 | public function getExternalItemConfig($modName, $menuKey, $value = '') |
| 266 | 266 | { |
| 267 | 267 | if (isset($GLOBALS['TBE_MODULES_EXT'][$modName])) { |
| 268 | - return (string)$value !== '' ? $GLOBALS['TBE_MODULES_EXT'][$modName]['MOD_MENU'][$menuKey][$value] : $GLOBALS['TBE_MODULES_EXT'][$modName]['MOD_MENU'][$menuKey]; |
|
| 268 | + return (string) $value !== '' ? $GLOBALS['TBE_MODULES_EXT'][$modName]['MOD_MENU'][$menuKey][$value] : $GLOBALS['TBE_MODULES_EXT'][$modName]['MOD_MENU'][$menuKey]; |
|
| 269 | 269 | } |
| 270 | 270 | return null; |
| 271 | 271 | } |