[TYPO3-dev] Small PhpStorm hint for devs
    Xavier Perseguers 
    xavier.perseguers at typo3.org
       
    Fri Mar 11 15:37:31 CET 2011
    
    
  
Hi,
> well - the guys from phpStorm suggested some workaround in case of
> extensions (sure - no one will add global $TYPO3_DB; to core)
>
> function foo () {
>
> /** @var $TYPO3_DB t3lib_DB */
> global $TYPO3_DB;
>
>
> $TYPO3_DB->
>
> }
>
>
> But its a bit ugly IMO.
And against our CGL :)
-- 
Xavier Perseguers
Release Manager TYPO3 4.6
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
    
    
More information about the TYPO3-dev
mailing list