Skip to content

Commit a8b7cea

Browse files
committed
Fix build
1 parent 24a23b0 commit a8b7cea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Rules/Classes/InvalidPromotedPropertiesRule.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function processNode(Node $node, Scope $scope): array
5454
if (!$this->phpVersion->supportsPromotedProperties()) {
5555
return [
5656
RuleErrorBuilder::message(
57-
'Promoted properties are supported only on PHP 8.0 and later.',
57+
'Promoted properties are supported only on PHP 8.0 and later.'
5858
)->nonIgnorable()->build(),
5959
];
6060
}
@@ -65,15 +65,15 @@ public function processNode(Node $node, Scope $scope): array
6565
) {
6666
return [
6767
RuleErrorBuilder::message(
68-
'Promoted properties can be in constructor only.',
68+
'Promoted properties can be in constructor only.'
6969
)->nonIgnorable()->build(),
7070
];
7171
}
7272

7373
if ($node->stmts === null) {
7474
return [
7575
RuleErrorBuilder::message(
76-
'Promoted properties are not allowed in abstract constructors.',
76+
'Promoted properties are not allowed in abstract constructors.'
7777
)->nonIgnorable()->build(),
7878
];
7979
}

0 commit comments

Comments
 (0)