add support number of string in __construct of Priority
Merge pull request #6159
Merge pull request #6159 in master