original_string: protected function withoutBulk(array $data = [])
      {
          if ($this->isArray($data)) {
              return;
          }
  
          $row = $this->data->addChild('row');
  
          $row->addAttribute('no', 1);
  
          foreach ($data['data'] as $key => $value) {
              $child = $row->addChild('FL', $value);
  
              $child->addAttribute('val', $key);
          }
      }
code: protected function withoutBulk(array $data = [])
      {
          if ($this->isArray($data)) {
              return;
          }
  
          $row = $this->data->addChild('row');
  
          $row->addAttribute('no', 1);
  
          foreach ($data['data'] as $key => $value) {
              $child = $row->addChild('FL', $value);
  
              $child->addAttribute('val', $key);
          }
      }
code_tokens: protected function withoutBulk ( array $ data = [ ] ) { if ( $ this -> isArray ( $ data ) ) { return ; } $ row = $ this -> data -> addChild ( 'row' ) ; $ row -> addAttribute ( 'no' , 1 ) ; foreach ( $ data [ 'data' ] as $ key => $ value ) { $ child = $ row -> addChild ( 'FL' , $ value ) ; $ child -> addAttribute ( 'val' , $ key ) ; } }
docstring: Only one element in data array. For BC.
  
  @param array $data
docstring_tokens: Only one element in data array . For BC .