original_string: private function recursiveTreeStrip(array $data)
      {
          if (count($data) === 1 && !empty($data[0]['children'])) {
              return $this->recursiveTreeStrip($data[0]['children']);
          }
  
          return $data;
      }
code: private function recursiveTreeStrip(array $data)
      {
          if (count($data) === 1 && !empty($data[0]['children'])) {
              return $this->recursiveTreeStrip($data[0]['children']);
          }
  
          return $data;
      }
code_tokens: private function recursiveTreeStrip ( array $ data ) { if ( count ( $ data ) === 1 && ! empty ( $ data [ 0 ] [ 'children' ] ) ) { return $ this -> recursiveTreeStrip ( $ data [ 0 ] [ 'children' ] ) ; } return $ data ; }
docstring: Strip all disabled nodes recursivly.
  
  @param array $data
  
  @return array
docstring_tokens: Strip all disabled nodes recursivly .