[TIMOB-13116] Fixed a bug in toString in declare
Merge pull request #3989 from bryan-m-hughes/timob-13116

[TIMOB-13116] Fixed a bug in toString in declare