Skip to content

Commit 7ac877d

Browse files
committed
Variables::getMemberProperties(): minor documentation update
1 parent 64b31cc commit 7ac877d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PHPCSUtils/Utils/Variables.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public static function getMemberProperties(File $phpcsFile, $stackPtr)
176176
}
177177

178178
if ($tokens[$i]['type'] === 'T_NULLABLE'
179-
// Handle nullable property types in PHPCS < 3.5.0.
179+
// Handle nullable types in PHPCS < 3.5.0 and for PHP-4 style `var` properties in PHPCS < 3.5.4.
180180
|| $tokens[$i]['code'] === \T_INLINE_THEN
181181
) {
182182
$nullableType = true;

0 commit comments

Comments
 (0)