File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -2647,15 +2647,18 @@ public function findEndOfStatement($start, $ignore=null)
2647
2647
*
2648
2648
* @param int|string|array $types The type(s) of tokens to search for.
2649
2649
* @param int $start The position to start searching from in the
2650
- * token stack. The first token matching on
2651
- * this line before this token will be returned.
2650
+ * token stack.
2652
2651
* @param bool $exclude If true, find the token that is NOT of
2653
2652
* the types specified in $types.
2654
2653
* @param string $value The value that the token must be equal to.
2655
2654
* If value is omitted, tokens with any value will
2656
2655
* be returned.
2657
2656
*
2658
- * @return int|false
2657
+ * @return int|false The first token which matches on the line containing the start
2658
+ * token, between the start of the line and the start token.
2659
+ * Note: The first token matching might be the start token.
2660
+ * FALSE when no matching token could be found between the start of
2661
+ * the line and the start token.
2659
2662
*/
2660
2663
public function findFirstOnLine ($ types , $ start , $ exclude =false , $ value =null )
2661
2664
{
You can’t perform that action at this time.
0 commit comments