Commit 35bf9943 authored by Koosha Khajeh Moogahi's avatar Koosha Khajeh Moogahi Committed by Frédéric Buclin

Bug 765315: Mention the data type of 'product' param in POD of…

Bug 765315: Mention the data type of 'product' param in POD of Bugzilla::Component->new to avoid misunderstanding r/a=LpSolit
parent 776cbe8f
......@@ -487,10 +487,12 @@ Component.pm represents a Product Component object.
Params: $param - If you pass an integer, the integer is the
component ID from the database that we want to
read in. If you pass in a hash with the 'name'
and 'product' keys, then the value of the name
key is the name of a component being in the given
product.
read in.
However, If you pass in a hash, it must contain
two keys:
name (string): the name of the component
product (object): an object of Bugzilla::Product
representing the product that the component belongs to.
Returns: A Bugzilla::Component object.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment