original_string: public function getParent()
      {
          if (!$this->currentFileName || !$this->metas) {
              return null;
          }
  
          $meta = $this->metas->get($this->currentFileName);
  
          if (!$meta || !isset($meta['parent'])) {
              return null;
          }
  
          $parent = $this->metas->get($meta['parent']);
  
          if (!$parent) {
              return null;
          }
  
          return $parent;
      }
code: public function getParent()
      {
          if (!$this->currentFileName || !$this->metas) {
              return null;
          }
  
          $meta = $this->metas->get($this->currentFileName);
  
          if (!$meta || !isset($meta['parent'])) {
              return null;
          }
  
          $parent = $this->metas->get($meta['parent']);
  
          if (!$parent) {
              return null;
          }
  
          return $parent;
      }
code_tokens: public function getParent ( ) { if ( ! $ this -> currentFileName || ! $ this -> metas ) { return null ; } $ meta = $ this -> metas -> get ( $ this -> currentFileName ) ; if ( ! $ meta || ! isset ( $ meta [ 'parent' ] ) ) { return null ; } $ parent = $ this -> metas -> get ( $ meta [ 'parent' ] ) ; if ( ! $ parent ) { return null ; } return $ parent ; }
docstring: Get my parent metas
docstring_tokens: Get my parent metas