File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/org/nameapi/client/services/parser/personnameparser Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class ParsedPerson {
4343
4444 public function __construct (PersonType $ personType ,
4545 PersonRole $ personRole ,
46- PersonGenderResult $ gender ,
46+ $ gender ,
4747 $ addressingGivenName ,
4848 $ addressingSurname ,
4949 OutputPersonName $ outputPersonName ,
@@ -73,7 +73,7 @@ public function getPersonRole() {
7373 }
7474
7575 /**
76- * @return PersonGenderResult
76+ * @return PersonGenderResult or null
7777 */
7878 public function getGender () {
7979 return $ this ->gender ;
@@ -101,12 +101,12 @@ public function getOutputPersonName() {
101101 }
102102
103103 /**
104- * Returns the people contained withhin this person.
104+ * Returns the people contained within this person.
105105 *
106106 * <p>If the getPersonType() is 'MULTIPLE' then expect content here. But also 'FAMILY' and 'LEGAL' can
107107 * have entries here.</p>
108108 *
109- * @return ParsedPerson[]
109+ * @return ParsedPerson[] the array may be empty
110110 */
111111 public function getPeople () {
112112 return $ this ->people ;
You can’t perform that action at this time.
0 commit comments