original_string: public function setFor($key, \DateTime $date, $value)
      {
          $this->data[$this->keyFor($key, $date)] = $value;
      }
code: public function setFor($key, \DateTime $date, $value)
      {
          $this->data[$this->keyFor($key, $date)] = $value;
      }
code_tokens: public function setFor ( $ key , \ DateTime $ date , $ value ) { $ this -> data [ $ this -> keyFor ( $ key , $ date ) ] = $ value ; }
docstring: Set value for a key for a given date.
  
  @param string $key Counter key.
  @param \DateTime $date Date.
  @param float|int $value Value to set.
  @return void
docstring_tokens: Set value for a key for a given date .