@@ -73,7 +73,7 @@ public function __construct()
73
73
*
74
74
* @return void|int Optionally returns a stack pointer. The sniff will not be
75
75
* called again on the current file until the returned stack
76
- * pointer is reached. Return (count($tokens) + 1) to skip
76
+ * pointer is reached. Return ($phpcsFile->numTokens + 1) to skip
77
77
* the rest of the file.
78
78
*/
79
79
final protected function processTokenWithinScope (File $ phpcsFile , $ stackPtr , $ currScope )
@@ -157,7 +157,7 @@ final protected function processTokenWithinScope(File $phpcsFile, $stackPtr, $cu
157
157
*
158
158
* @return void|int Optionally returns a stack pointer. The sniff will not be
159
159
* called again on the current file until the returned stack
160
- * pointer is reached. Return (count($tokens) + 1) to skip
160
+ * pointer is reached. Return ($phpcsFile->numTokens + 1) to skip
161
161
* the rest of the file.
162
162
*/
163
163
final protected function processTokenOutsideScope (File $ phpcsFile , $ stackPtr )
@@ -188,7 +188,7 @@ final protected function processTokenOutsideScope(File $phpcsFile, $stackPtr)
188
188
*
189
189
* @return void|int Optionally returns a stack pointer. The sniff will not be
190
190
* called again on the current file until the returned stack
191
- * pointer is reached. Return (count($tokens) + 1) to skip
191
+ * pointer is reached. Return ($phpcsFile->numTokens + 1) to skip
192
192
* the rest of the file.
193
193
*/
194
194
abstract protected function processMemberVar (File $ phpcsFile , $ stackPtr );
@@ -203,7 +203,7 @@ abstract protected function processMemberVar(File $phpcsFile, $stackPtr);
203
203
*
204
204
* @return void|int Optionally returns a stack pointer. The sniff will not be
205
205
* called again on the current file until the returned stack
206
- * pointer is reached. Return (count($tokens) + 1) to skip
206
+ * pointer is reached. Return ($phpcsFile->numTokens + 1) to skip
207
207
* the rest of the file.
208
208
*/
209
209
abstract protected function processVariable (File $ phpcsFile , $ stackPtr );
@@ -222,7 +222,7 @@ abstract protected function processVariable(File $phpcsFile, $stackPtr);
222
222
*
223
223
* @return void|int Optionally returns a stack pointer. The sniff will not be
224
224
* called again on the current file until the returned stack
225
- * pointer is reached. Return (count($tokens) + 1) to skip
225
+ * pointer is reached. Return ($phpcsFile->numTokens + 1) to skip
226
226
* the rest of the file.
227
227
*/
228
228
abstract protected function processVariableInString (File $ phpcsFile , $ stackPtr );
0 commit comments