We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 905d47d + 08cdb9f commit 33df1cfCopy full SHA for 33df1cf
Inpsyde/Sniffs/CodeQuality/NoAccessorsSniff.php
@@ -115,7 +115,7 @@ public function process(File $file, $position)
115
$file->addWarning(
116
'Getters are discouraged. "Tell Don\'t Ask" principle should be applied if possible, '
117
. 'and if getters are really needed consider naming methods after properties, '
118
- . 'e.g. id() instead of geId().',
+ . 'e.g. id() instead of getId().',
119
$position,
120
'NoGetter'
121
);
0 commit comments