original_string: protected function setCity($city_id)
      {
          $this->data_city = array();
  
          if (is_numeric($city_id)) {
              $this->data_city = $this->city->get($city_id);
              if (empty($this->data_city)) {
                  $this->outputHttpStatus(404);
              }
          }
      }
code: protected function setCity($city_id)
      {
          $this->data_city = array();
  
          if (is_numeric($city_id)) {
              $this->data_city = $this->city->get($city_id);
              if (empty($this->data_city)) {
                  $this->outputHttpStatus(404);
              }
          }
      }
code_tokens: protected function setCity ( $ city_id ) { $ this -> data_city = array ( ) ; if ( is_numeric ( $ city_id ) ) { $ this -> data_city = $ this -> city -> get ( $ city_id ) ; if ( empty ( $ this -> data_city ) ) { $ this -> outputHttpStatus ( 404 ) ; } } }
docstring: Sets an array of city data
  @param integer $city_id
docstring_tokens: Sets an array of city data