[CLEANUP] Add type hints for stdClass object properties (#1005)
[CLEANUP] Add type hints for stdClass object properties (#1005)

Psalm supports `object{}` type hints to provide type hints for the properties
of a `stdClass` object.  Using these in the DocBlocks allows various type hints
and (redundant) casts within the code to be eliminated.
MyIntervals/emogrifier