Skip to content

Commit 12877d9

Browse files
committed
Docs: various fixes
1 parent 77a01e7 commit 12877d9

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

PHPCSDebug/Sniffs/Debug/TokenListSniff.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ public function register()
7474
* @param int $stackPtr The position of the current
7575
* token in the stack.
7676
*
77-
* @return void
77+
* @return int|void Integer stack pointer to skip forward or void to continue
78+
* normal file processing.
7879
*/
7980
public function process(File $phpcsFile, $stackPtr)
8081
{

Scripts/CheckSniffCompleteness.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class CheckSniffCompleteness
3131
* To disable showing progress, pass `--no-progress` on the command line
3232
* when calling the script.
3333
*
34-
* @var boolean
34+
* @var bool
3535
*/
3636
protected $showProgress = true;
3737

@@ -43,7 +43,7 @@ class CheckSniffCompleteness
4343
* To enable "quiet" mode, pass `-q` on the command line when calling
4444
* the script.
4545
*
46-
* @var boolean
46+
* @var bool
4747
*/
4848
protected $quietMode = false;
4949

@@ -52,7 +52,7 @@ class CheckSniffCompleteness
5252
*
5353
* This will be automatically detected if not set from the command-line.
5454
*
55-
* @var boolean
55+
* @var bool
5656
*/
5757
protected $showColored;
5858

Scripts/FileList.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ class FileList
4545
protected $rootPath;
4646

4747
/**
48-
* Recursive directory iterator.
48+
* Regex iterator.
4949
*
50-
* @var \DirectoryIterator
50+
* @var \RegexIterator
5151
*/
5252
protected $fileIterator;
5353

@@ -85,7 +85,7 @@ public function __construct($directory, $rootPath = '', $filter = '')
8585
/**
8686
* Retrieve the filtered file list iterator.
8787
*
88-
* @return array
88+
* @return \RegexIterator
8989
*/
9090
public function getIterator()
9191
{

0 commit comments

Comments
 (0)