[TYPO3-core] superfluous curly brackets {}

François Suter fsu-lists at cobweb.ch
Sat Oct 13 12:02:25 CEST 2012


Hi,

> Well, looking into the code it turned out this reads:
>
>    $this->{$offset}

Ah, that's quite different ;-)

> or so. So imho the brackets make sense there and I'd favour if we could
> add it for the CGL.

I agree that it would improve readability. OTOH I don't much like such 
constructs, as they make the code quite unreadable. I would rather we 
used some accessor method.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-team-core mailing list