@@ -48,6 +48,10 @@ |
||
48 | 48 | return $this->getPeopleComparisonWith($birthday_sort, $people_comparisons); |
49 | 49 | } |
50 | 50 | |
51 | + /** |
|
52 | + * @param integer $first_person_index |
|
53 | + * @param integer $second_person_index |
|
54 | + */ |
|
51 | 55 | private function isFirstPersonMoreYoungerThanSecondPerson($first_person_index, $second_person_index): bool |
52 | 56 | { |
53 | 57 | return $this->people[$first_person_index]->birthDate() < $this->people[$second_person_index]->birthDate(); |