Skip to content

Commit 33c9a89

Browse files
committed
Docs: fix incomplete param types
1 parent 5818192 commit 33c9a89

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

PHPCSUtils/BackCompat/Helper.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public static function getTabWidth(File $phpcsFile)
172172
*
173173
* @since 1.0.0
174174
*
175-
* @param \PHP_CodeSniffer\Files\File $phpcsFile Optional. The current file being processed.
175+
* @param \PHP_CodeSniffer\Files\File|null $phpcsFile Optional. The current file being processed.
176176
*
177177
* @return string Encoding. Defaults to the PHPCS native default, which is 'utf-8'
178178
* for PHPCS 3.x and was 'iso-8859-1' for PHPCS 2.x.
@@ -213,8 +213,7 @@ public static function getEncoding(File $phpcsFile = null)
213213
*
214214
* @since 1.0.0
215215
*
216-
* @param \PHP_CodeSniffer\Files\File $phpcsFile Optional. The current file
217-
* being processed.
216+
* @param \PHP_CodeSniffer\Files\File|null $phpcsFile Optional. The current file being processed.
218217
*
219218
* @return bool True if annotations should be ignored, false otherwise.
220219
*/

0 commit comments

Comments
 (0)