code: private function ensureAreTogether(DocBlock $doc, Annotation $first, Annotation $second)
      {
          $pos = $first->getEnd();
          $final = $second->getStart();
  
          for ($pos = $pos + 1; $pos < $final; ++$pos) {
              $doc->getLine($pos)->remove();
          }
      }
docs: Force the given annotations to immediately follow each other.
  
  @param DocBlock   $doc
  @param Annotation $first
  @param Annotation $second