Update BaseMessage.php

See https://github.com/yiisoft/yii2/commit/0ff0f9d32eb71cc13b7c6eea45f85d115f98a633

https://github.com/yiisoft/yii2/issues/4071
Merge pull request #4107 from SDKiller/patch-2

Update BaseMessage.php