@@ -63,6 +63,10 @@ |
||
63 | 63 | return $answer; |
64 | 64 | } |
65 | 65 | |
66 | + /** |
|
67 | + * @param integer $first_person |
|
68 | + * @param integer $second_person |
|
69 | + */ |
|
66 | 70 | private function isFirstPersonMoreYoungerThanSecondPerson($first_person, $second_person): bool |
67 | 71 | { |
68 | 72 | return $this->people[$first_person]->birthDate < $this->people[$second_person]->birthDate; |