@@ -34,7 +34,7 @@ public static function findNextNonWhitespace(PHP_CodeSniffer_File $phpcsFile, $s
3434 * @param integer|integer[] $types
3535 * @param integer $startPointer search starts at this token, inclusive
3636 * @param integer|null $endPointer search ends at this token, exclusive
37- * @return integer|boolean
37+ * @return integer|null
3838 */
3939 public static function findNextExcluding (PHP_CodeSniffer_File $ phpcsFile , $ types , $ startPointer , $ endPointer = null )
4040 {
@@ -49,7 +49,7 @@ public static function findNextExcluding(PHP_CodeSniffer_File $phpcsFile, $types
4949 * @param \PHP_CodeSniffer_File $phpcsFile
5050 * @param integer $startPointer search starts at this token, inclusive
5151 * @param integer|null $endPointer search ends at this token, exclusive
52- * @return integer|boolean
52+ * @return integer|null
5353 */
5454 public static function findNextAnyToken (PHP_CodeSniffer_File $ phpcsFile , $ startPointer , $ endPointer = null )
5555 {
@@ -60,7 +60,7 @@ public static function findNextAnyToken(PHP_CodeSniffer_File $phpcsFile, $startP
6060 * @param \PHP_CodeSniffer_File $phpcsFile
6161 * @param integer $startPointer search starts at this token, inclusive
6262 * @param integer|null $endPointer search ends at this token, exclusive
63- * @return integer|boolean
63+ * @return integer|null
6464 */
6565 public static function findPreviousNonWhitespace (PHP_CodeSniffer_File $ phpcsFile , $ startPointer , $ endPointer = null )
6666 {
@@ -72,7 +72,7 @@ public static function findPreviousNonWhitespace(PHP_CodeSniffer_File $phpcsFile
7272 * @param integer[]|integer $types
7373 * @param integer $startPointer search starts at this token, inclusive
7474 * @param integer|null $endPointer search ends at this token, exclusive
75- * @return integer|boolean
75+ * @return integer|null
7676 */
7777 public static function findPreviousExcluding (PHP_CodeSniffer_File $ phpcsFile , $ types , $ startPointer , $ endPointer = null )
7878 {
0 commit comments