Clear up phpdoc in terms of 'global' type, recommend 'globals' instead