Skip to content

Commit

Permalink
docs(File): Fix data type of token types that can also be string
Browse files Browse the repository at this point in the history
  • Loading branch information
klausi committed Jan 10, 2020
1 parent b477a41 commit 8a36d55
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Files/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down

0 comments on commit 8a36d55

Please sign in to comment.