From 8a36d55fc66465ec23a3a0114efb04295fe91b0c Mon Sep 17 00:00:00 2001 From: Klaus Purer Date: Fri, 10 Jan 2020 11:50:20 +0100 Subject: [PATCH] docs(File): Fix data type of token types that can also be string --- src/Files/File.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 */