I don't understand why PHP got typed constants. Constants never change, their type is exactly what the constant is.
@mnapoli $object::FOO is mixed if not typed.
@OndrejMirtes why isn’t that the type of the constant?
@mnapoli Because the constant can be overriden in a child class with a completely different value.