diff --git a/src/Files/File.php b/src/Files/File.php index a121a2d87d..f22b09b786 100644 --- a/src/Files/File.php +++ b/src/Files/File.php @@ -2243,8 +2243,8 @@ public function findNext( /** * Returns the position of the first non-whitespace token in a statement. * - * @param int $start The position to start searching from in the token stack. - * @param int|array $ignore Token types that should not be considered stop points. + * @param int $start The position to start searching from in the token stack. + * @param int|string|array $ignore Token types that should not be considered stop points. * * @return int */ @@ -2306,8 +2306,8 @@ public function findStartOfStatement($start, $ignore=null) /** * Returns the position of the last non-whitespace token in a statement. * - * @param int $start The position to start searching from in the token stack. - * @param int|array $ignore Token types that should not be considered stop points. + * @param int $start The position to start searching from in the token stack. + * @param int|string|array $ignore Token types that should not be considered stop points. * * @return int */