Codeception\Step\Comment::__toString() must return a string (#3803)
Codeception\Step\Comment::__toString() must return a string (#3803)

* Method Codeception\Step\Comment::__toString() must return a string value; Fixes #3296

* Step\Comment->toString() should actually cut message even it is a comment

* Added encoding parameter to mb_strcut

for consistency with usage of other mb_* functions

Naktibalda/Codeception,sergeyklay/Codeception,Vreasy/Codeception,Codeception/base,Codeception/Codeception,tiger-seo/Codeception,kt81/Codeception,tasselchof/Codeception,tiger-seo/Codeception,janhenkgerritsen/Codeception,pitpit/Codeception,kt81/Codeception,Codeception/Codeception,tasselchof/Codeception,tasselchof/Codeception,Codeception/base,Codeception/base,janhenkgerritsen/Codeception,sergeyklay/Codeception,Naktibalda/Codeception,Vreasy/Codeception,pitpit/Codeception,Naktibalda/Codeception