Type hinting cannot be used with array of instances of a given class. When submited to PHP Team, idea got this answer :
" That's impossible and never will be. But you can do that more or less yourself. Derive a class that implements ArrayAccess or reuse ArrayObject/ArrayIterator. And overload its offsetSet(). In the method body you add the check to ensure only what you want can go in. Now if that class accepts only B's (B beeing an examble classname, ndla) you may call it ArrayOfB and the use ArrayOfB as you typehint. "
This is obviously reaching the limit between "typing" and "type hinting" ...