Custom 'String' type: error in phpdoc

I created my custom 'String' class.
'Argument type does not match' error appears for it in phpdoc:
Seems it is bug.

String.png

Please sign in to leave a comment.