Because Puppet 4 is typed, parameter type information can be automatically determined without any explicit documentation in @param tags. However, users may desire to do so anyway for consistency. This commit allows @param tags to include a [type] in Puppet 4 code. Strings will emit a warning if the documented type does not match the actual type. In such an event, the incorrect documented type will be ignored in favor of the real one. |
||
|---|---|---|
| .. | ||
| puppet | ||
| puppet-strings | ||
| puppet-strings.rb | ||