public static function traceLeoCall(array $trace)
    {
        for ($i = count($trace) - 1; $i >= 0; --$i) {
            if (self::isLeoTraceEntry($trace[$i])) {
                return $trace[$i];
            }
        }

        return null;
    }