diff --git a/lib/puppet-strings/yard/code_objects/type.rb b/lib/puppet-strings/yard/code_objects/type.rb index 0d8a1fe9c..1535523d3 100644 --- a/lib/puppet-strings/yard/code_objects/type.rb +++ b/lib/puppet-strings/yard/code_objects/type.rb @@ -148,6 +148,7 @@ def add_check(check) end def parameters + @parameters ||= [] # guard against not filled parameters # just return params if there are no providers return @parameters if providers.empty?