From: Dave Rolsky Date: Mon, 19 Sep 2011 04:27:15 +0000 (-0500) Subject: Clarify that ->parents returns a list X-Git-Tag: 2.0300~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMoose.git;a=commitdiff_plain;h=5b3b59ff693882bbb7bcdcfbac6c5b68215bc42c Clarify that ->parents returns a list --- diff --git a/lib/Moose/Meta/TypeConstraint.pm b/lib/Moose/Meta/TypeConstraint.pm index b621375..206a0a6 100644 --- a/lib/Moose/Meta/TypeConstraint.pm +++ b/lib/Moose/Meta/TypeConstraint.pm @@ -566,8 +566,7 @@ Returns true if the type has a parent type. =item B<< $constraint->parents >> -A synonym for C. This is useful for polymorphism with types -that can have more than one parent. +Returns all of the types parents as an list of type constraint objects. =item B<< $constraint->constraint >>