lib/stats/Stats.php
protected function validateNumericArray($name, $value)
    {
        if (!is_array($value) || empty($value) || !$this->isNumeric($value)) {
            throw new \Exception($name . ' must be a non-empty numeric array.');
        }
    }
protected function validateNumericArray($name, $value)
    {
        if (!is_array($value) || empty($value) || !$this->isNumeric($value)) {
            throw new \Exception($name . ' must be a non-empty numeric array.');
        }
    }
protected function validateNumericArray ( $ name , $ value ) { if ( ! is_array ( $ value ) || empty ( $ value ) || ! $ this -> isNumeric ( $ value ) ) { throw new \ Exception ( $ name . ' must be a non-empty numeric array.' ) ; } }
Validate a numeric array

@param string $name  Name as a string
@param array  $value Value as an array of integers

@return null
@throws \Exception
Validate a numeric array