code: private function isClosingLineWithMeaningfulContent(Tokens $tokens, $index)
      {
          while (isset($tokens[++$index])) {
              $token = $tokens[$index];
              if ($token->isType(DocLexer::T_NONE)) {
                  if (false !== strpos($token->getContent(), "\n")) {
                      return false;
                  }
  
                  continue;
              }
  
              return !$token->isType([DocLexer::T_CLOSE_PARENTHESIS, DocLexer::T_CLOSE_CURLY_BRACES]);
          }
  
          return false;
      }
docs: @param Tokens $tokens
  @param int    $index
  
  @return bool