Fixed the example showing parameter type constraints

String is not a Moose::Util::TypeConstraints type. To make the example
work, it needs to be Str.
See https://metacpan.org/module/Moose::Util::TypeConstraints
Merge pull request #3 from ironcamel/fix-types-example

Fixed the example showing parameter type constraints