@@ -66,6 +66,10 @@ |
||
66 | 66 | return $answer; |
67 | 67 | } |
68 | 68 | |
69 | + /** |
|
70 | + * @param integer $first_person_index |
|
71 | + * @param integer $second_person_index |
|
72 | + */ |
|
69 | 73 | private function isFirstPersonMoreYoungerThanSecondPerson($first_person_index, $second_person_index): bool |
70 | 74 | { |
71 | 75 | return $this->people[$first_person_index]->birthDate() < $this->people[$second_person_index]->birthDate(); |