Checked twice
Users::of($order) throws InvalidElementType, and PHPStan reports it before you run anything. The extension even checks that TYPE matches @extends.
Declare Users, OrderLines or Tags in four lines. A wrong element fails at runtime and in PHPStan; a broken invariant fails the moment it appears.