original_string: public function setConfig($config)
      {
          if (is_null($config)) {
              $config = 1;
          } elseif (1 > intval($config)) {
              throw new HTML_QuickForm2_InvalidArgumentException(
                  'Nonempty Rule accepts a positive count of nonempty values, ' .
                  preg_replace('/\s+/', ' ', var_export($config, true)) . ' given'
              );
          }
          return parent::setConfig(intval($config));
      }
code: public function setConfig($config)
      {
          if (is_null($config)) {
              $config = 1;
          } elseif (1 > intval($config)) {
              throw new HTML_QuickForm2_InvalidArgumentException(
                  'Nonempty Rule accepts a positive count of nonempty values, ' .
                  preg_replace('/\s+/', ' ', var_export($config, true)) . ' given'
              );
          }
          return parent::setConfig(intval($config));
      }
code_tokens: public function setConfig ( $ config ) { if ( is_null ( $ config ) ) { $ config = 1 ; } elseif ( 1 > intval ( $ config ) ) { throw new HTML_QuickForm2_InvalidArgumentException ( 'Nonempty Rule accepts a positive count of nonempty values, ' . preg_replace ( '/\s+/' , ' ' , var_export ( $ config , true ) ) . ' given' ) ; } return parent :: setConfig ( intval ( $ config ) ) ; }
docstring: Sets minimum number of nonempty values
  
  This is useful for multiple selects and Containers, will be ignored for
  all other elements. Defaults to 1, thus multiple select will be
  considered not empty if at least one option is selected, Container will
  be considered not empty if at least one contained element is not empty.
  
  @param    int     Maximum allowed size
  @return   HTML_QuickForm2_Rule
  @throws   HTML_QuickForm2_InvalidArgumentException    if a bogus size limit was provided
docstring_tokens: Sets minimum number of nonempty values