Type-hinting Arrays
Posted: 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.
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.