original_string: public function getValidValue()
      {
          $values = [];
          foreach($this->values as $key => $value) {
              if ($this->isValidValue($value)) {
                  $values[$key] = $value->getValidValue();
              }
          }
          return $values;
      }
code: public function getValidValue()
      {
          $values = [];
          foreach($this->values as $key => $value) {
              if ($this->isValidValue($value)) {
                  $values[$key] = $value->getValidValue();
              }
          }
          return $values;
      }
code_tokens: public function getValidValue ( ) { $ values = [ ] ; foreach ( $ this -> values as $ key => $ value ) { if ( $ this -> isValidValue ( $ value ) ) { $ values [ $ key ] = $ value -> getValidValue ( ) ; } } return $ values ; }
docstring: return the validated value.
  returns false if validation fails.
  
  @return bool|mixed
docstring_tokens: return the validated value . returns false if validation fails .