Skip to content

Commit

Permalink
doc: fix visibility should not change (#2711)
Browse files Browse the repository at this point in the history
  • Loading branch information
kpn13 committed Jul 25, 2022
1 parent 3f3fc41 commit bd4a732
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/target-repository/docs/rector_rules_overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -5975,7 +5975,7 @@ Change simple property init and assign to constructor promotion
-
public function __construct(
- float $someVariable = 0.0
+ private float $someVariable = 0.0
+ public float $someVariable = 0.0
) {
- $this->someVariable = $someVariable;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function __construct(
class SomeClass
{
public function __construct(
private float $someVariable = 0.0
public float $someVariable = 0.0
) {
}
}
Expand Down

0 comments on commit bd4a732

Please sign in to comment.