app/Module/LifespansChartModule.php
protected function minYear(array $individuals): int
    {
        $jd = array_reduce($individuals, static function ($carry, Individual $item) {
            return min($carry, $item->getEstimatedBirthDate()->minimumJulianDay());
        }, PHP_INT_MAX);

        return $this->jdToYear($jd);
    }
protected function minYear(array $individuals): int
    {
        $jd = array_reduce($individuals, static function ($carry, Individual $item) {
            return min($carry, $item->getEstimatedBirthDate()->minimumJulianDay());
        }, PHP_INT_MAX);

        return $this->jdToYear($jd);
    }
protected function minYear ( array $ individuals ) : int { $ jd = array_reduce ( $ individuals , static function ( $ carry , Individual $ item ) { return min ( $ carry , $ item -> getEstimatedBirthDate ( ) -> minimumJulianDay ( ) ) ; } , PHP_INT_MAX ) ; return $ this -> jdToYear ( $ jd ) ; }
Find the earliest event year for individuals

@param array $individuals

@return int
Find the earliest event year for individuals