You are viewing a single comment's thread from:
RE: PHP: Never type hint on arrays
They have their uses, totally. If you have a low-cardinality list of things an array is absolutely a reasonable tool to use for it.
It's type hinting against that array that is rarely useful.