Type-hinting Arrays

Discussions and requests related to new CMSimple features, plugins, templates etc. and how to develop.
Please don't ask for support at this forums!
Post Reply
cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Type-hinting Arrays

Post by cmb » Mon Mar 30, 2015 1:08 pm

Hi everybody!

I suggest to type-hint all array parameters. As with type hints in general, this is supposed to make the code better self-documenting (the type declarations in doc-blocks are more error prone; I've found some obviously wrong ones), and might catch some bugs early.

I propose to apply this patch.
Christoph M. Becker – Plugins for CMSimple_XH

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Type-hinting Arrays

Post by cmb » Tue Apr 21, 2015 8:12 pm

Done (r1550).
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply