Not everyone uses Magicento and it can in fact be wrong about the type hinting.