original_string: public function getChildNodes($dsId, $level = 1)
      {
          $children = [];
  
          $childrenDsIds = $this->getChildrenDsIds($dsId, $level);
          foreach ($childrenDsIds as $childDsId) {
              $children[] = $this->getNode($childDsId);
          }
  
          return $children;
      }
code: public function getChildNodes($dsId, $level = 1)
      {
          $children = [];
  
          $childrenDsIds = $this->getChildrenDsIds($dsId, $level);
          foreach ($childrenDsIds as $childDsId) {
              $children[] = $this->getNode($childDsId);
          }
  
          return $children;
      }
code_tokens: public function getChildNodes ( $ dsId , $ level = 1 ) { $ children = [ ] ; $ childrenDsIds = $ this -> getChildrenDsIds ( $ dsId , $ level ) ; foreach ( $ childrenDsIds as $ childDsId ) { $ children [ ] = $ this -> getNode ( $ childDsId ) ; } return $ children ; }
docstring: Get children nodes.
  
  @param string $dsId  ds_id of node to fetch children
  @param int    $level (Optional) recursion depth
  
  @return ElementtypeStructureNode[]
docstring_tokens: Get children nodes .