[TYPO3-core] RFC #14880: bugfix : t3lib_iconWorks::getSpriteIconForRecord() accepts non-array as record

Jigal van Hemert jigal at xs4all.nl
Mon Jun 28 06:58:24 CEST 2010


Jigal van Hemert wrote:
> Oliver Klee wrote:
>> should $options also get type hinting while we're changing that line
>> anyway?

Attached version 2 with type hints for all array parameters of the 
sprite icon functions. CGL says it must:
"Type hinting must be used when function expects array or an instance of 
a certain class."

-- 
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 14880_v2.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100628/b36f38b7/attachment.asc>


More information about the TYPO3-team-core mailing list