code: private function fixSpaceBelowClassMethod(Tokens $tokens, $classEndIndex, $elementEndIndex)
      {
          $nextNotWhite = $tokens->getNextNonWhitespace($elementEndIndex);
  
          $this->correctLineBreaks($tokens, $elementEndIndex, $nextNotWhite, $nextNotWhite === $classEndIndex ? 1 : 2);
      }
docs: Fix spacing below a method of a class or trait.
  
  Deals with comments, PHPDocs and spaces above the method with respect to the position of the
  method within the class or trait.
  
  @param Tokens $tokens
  @param int    $classEndIndex
  @param int    $elementEndIndex