Skip to content

Commit 8a36d55

Browse files
committed
docs(File): Fix data type of token types that can also be string
1 parent b477a41 commit 8a36d55

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Files/File.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2243,8 +2243,8 @@ public function findNext(
22432243
/**
22442244
* Returns the position of the first non-whitespace token in a statement.
22452245
*
2246-
* @param int $start The position to start searching from in the token stack.
2247-
* @param int|array $ignore Token types that should not be considered stop points.
2246+
* @param int $start The position to start searching from in the token stack.
2247+
* @param int|string|array $ignore Token types that should not be considered stop points.
22482248
*
22492249
* @return int
22502250
*/
@@ -2306,8 +2306,8 @@ public function findStartOfStatement($start, $ignore=null)
23062306
/**
23072307
* Returns the position of the last non-whitespace token in a statement.
23082308
*
2309-
* @param int $start The position to start searching from in the token stack.
2310-
* @param int|array $ignore Token types that should not be considered stop points.
2309+
* @param int $start The position to start searching from in the token stack.
2310+
* @param int|string|array $ignore Token types that should not be considered stop points.
23112311
*
23122312
* @return int
23132313
*/

0 commit comments

Comments
 (0)