protected function getTrailingContent(File $phpcsFile, $stackPtr)
    {
        $nextNonWhitespace = $phpcsFile->findNext(
            array(
             T_WHITESPACE,
             T_COMMENT,
            ),
            ($stackPtr + 1),
            null,
            true
        );

        return $nextNonWhitespace;
    }