Skip to content

Commit b7bd2e4

Browse files
committed
typo
1 parent f9b7756 commit b7bd2e4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Rules/Properties/PropertyInClassRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function processNode(Node $node, Scope $scope): array
3737
&& !$this->phpVersion->supportsFinalProperties()
3838
) {
3939
return [
40-
RuleErrorBuilder::message('Final Properties are supported only on PHP 8.4 and later.')
40+
RuleErrorBuilder::message('Final properties are supported only on PHP 8.4 and later.')
4141
->nonIgnorable()
4242
->identifier('property.final')
4343
->build(),

tests/PHPStan/Rules/Properties/PropertyInClassRuleTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,15 +282,15 @@ public function testBeforePhp84FinalProperties(): void
282282

283283
$this->analyse([__DIR__ . '/data/final-properties.php'], [
284284
[
285-
'Final Properties are supported only on PHP 8.4 and later.',
285+
'Final properties are supported only on PHP 8.4 and later.',
286286
7,
287287
],
288288
[
289-
'Final Properties are supported only on PHP 8.4 and later.',
289+
'Final properties are supported only on PHP 8.4 and later.',
290290
8,
291291
],
292292
[
293-
'Final Properties are supported only on PHP 8.4 and later.',
293+
'Final properties are supported only on PHP 8.4 and later.',
294294
9,
295295
],
296296
]);

0 commit comments

Comments
 (0)