original_string: protected function splitCommaSeparatedValues($value)
      {
          if (!is_array($value) || (count($value) == 1) && is_string(current($value))) {
              $value = (array) $value;
              $value = explode(',', $value[0]);
          }
  
          return $value;
      }
code: protected function splitCommaSeparatedValues($value)
      {
          if (!is_array($value) || (count($value) == 1) && is_string(current($value))) {
              $value = (array) $value;
              $value = explode(',', $value[0]);
          }
  
          return $value;
      }
code_tokens: protected function splitCommaSeparatedValues ( $ value ) { if ( ! is_array ( $ value ) || ( count ( $ value ) == 1 ) && is_string ( current ( $ value ) ) ) { $ value = ( array ) $ value ; $ value = explode ( ',' , $ value [ 0 ] ) ; } return $ value ; }
docstring: Split comma separated values.
  
  @param mixed $value
  
  @return mixed
docstring_tokens: Split comma separated values .