private static function assertNumeric($value) { if (!is_numeric($value)) { throw new InvalidArgumentException('Amount must be a valid numeric value'); } }