The FcmMessage class always returns $this on its fluent methods, which may be a child class of FcmMessage. This PR updates the annotations to reflect this. Ideally the self return types would also be removed in favor of static but this could be a breaking change for classes extending this one, since this PR only changes annotations there are no breaking changes.
The
FcmMessage
class always returns$this
on its fluent methods, which may be a child class ofFcmMessage
. This PR updates the annotations to reflect this. Ideally theself
return types would also be removed in favor ofstatic
but this could be a breaking change for classes extending this one, since this PR only changes annotations there are no breaking changes.