As part of T326557, the icon of type=success MessageWidget was changed to the new version in the JS widget. However, the PHP version of message widget is still using the old 'check' icon. This can easily be confirmed with the demo.
T326557 does not say anything about the JS and PHP versions being different, nor does any of the related patches. Thus, I'm assuming that the inconsistency is unintentional.