code: private function nodeToDocBlock(ClassMethod $node)
      {
          $attribute = $node->getAttributes();
  
          if (isset($attribute['comments']) === false || isset($attribute['comments'][0]) === false) {
              return;
          }
  
          $docBlock = $attribute['comments'][0]->getText();
  
          return new DocBlock($docBlock);
      }
docs: @param ClassMethod $node
  
  @return NULL|\phpDocumentor\Reflection\DocBlock