Skip to content
This repository was archived by the owner on Nov 5, 2022. It is now read-only.

Commit 46b4c21

Browse files
committed
Updated comment
1 parent 7d38e76 commit 46b4c21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CodeIgniter4/Sniffs/NamingConventions/ValidVariableNameSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ protected function processMemberVar(File $phpcsFile, $stackPtr)
139139
return;
140140
}
141141

142-
// Methods must not be prefixed with an underscore except those in publicMethodNames.
142+
// Methods must not be prefixed with an underscore except those allowed in publicMethodNames.
143143
if (substr($varName, 0, 1) === '_') {
144144
if (isset(Common::$publicMethodNames[$varName]) === false) {
145145
$scope = $memberProps['scope'];

0 commit comments

Comments
 (0)