Skip to content

Commit 5818192

Browse files
committed
Docs: minor docblock format fixes
1 parent 695e4f0 commit 5818192

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

PHPCSUtils/Tokens/Collections.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ class Collections
343343
* It is recommended to use the method instead of the property if a standard supports PHPCS < 3.3.0.
344344
*
345345
* @see \PHPCSUtils\Tokens\Collections::parameterTypeTokensBC() Related method (cross-version).
346-
346+
*
347347
* @since 1.0.0
348348
*
349349
* @var array <int|string> => <int|string>

PHPCSUtils/Utils/Arrays.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ public static function getDoubleArrowPtr(File $phpcsFile, $start, $end)
288288

289289
/*
290290
* BC: work-around a bug in PHPCS 3.5.4 where the double arrow is incorrectly tokenized as T_STRING.
291+
*
291292
* @link https://github.com/squizlabs/PHP_CodeSniffer/issues/2865
292293
*/
293294
if ($tokens[$doubleArrow]['code'] === \T_STRING && $tokens[$doubleArrow]['content'] === '=>') {

PHPCSUtils/Utils/Lists.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ public static function getOpenClose(File $phpcsFile, $stackPtr, $isShortList = n
269269
* // FALSE when not a reference assignment.
270270
* </code>
271271
*
272-
*
273272
* Assignments with keys will have the following additional array indexes set:
274273
* <code>
275274
* 'key' => string, // The content of the key, cleaned of comments.

Tests/BackCompat/BCFile/FindEndOfStatementTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
* With documentation contributions from:
1717
* @author Phil Davis <[email protected]>
18-
18+
*
1919
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
2020
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
2121
*/

0 commit comments

Comments
 (0)