original_string: protected function addZone()
      {
          if (!$this->isError()) {
              $id = $this->zone->add($this->getSubmitted());
              if (empty($id)) {
                  $this->errorAndExit($this->text('Unexpected result'));
              }
              $this->line($id);
          }
      }
code: protected function addZone()
      {
          if (!$this->isError()) {
              $id = $this->zone->add($this->getSubmitted());
              if (empty($id)) {
                  $this->errorAndExit($this->text('Unexpected result'));
              }
              $this->line($id);
          }
      }
code_tokens: protected function addZone ( ) { if ( ! $ this -> isError ( ) ) { $ id = $ this -> zone -> add ( $ this -> getSubmitted ( ) ) ; if ( empty ( $ id ) ) { $ this -> errorAndExit ( $ this -> text ( 'Unexpected result' ) ) ; } $ this -> line ( $ id ) ; } }
docstring: Add a new zone
docstring_tokens: Add a new zone