Issue Bug Closed

#59000Code Cleanups in ExtraPageContextMenuOptions

Sebastian Michaelsen 05/21/14, 15:53 updated 12/08/14, 11:29

Description

\TYPO3\CMS\ExtraPageCmOptions\ExtraPageContextMenuOptions could use a few cleanups:

  • Use local variables with type hinting instead of $GLOBALS[‘BE_USER’] and $GLOBALS[‘LANG’]
  • Don’t use & on object function parameters (objects are always automatically passed by reference)
  • Rename and type-hint the “$backRef” parameter

Reviews 1