mirror of
https://github.com/rectorphp/rector.git
synced 2024-05-31 00:10:51 +00:00
[automated] Re-Generate Nodes/Rectors Documentation (#2041)
Co-authored-by: TomasVotruba <TomasVotruba@users.noreply.github.com>
This commit is contained in:
parent
3e4e571499
commit
76667332cf
|
@ -1,4 +1,4 @@
|
|||
# 509 Rules Overview
|
||||
# 510 Rules Overview
|
||||
|
||||
<br>
|
||||
|
||||
|
@ -90,7 +90,7 @@
|
|||
|
||||
- [TypeDeclaration](#typedeclaration) (23)
|
||||
|
||||
- [Visibility](#visibility) (2)
|
||||
- [Visibility](#visibility) (3)
|
||||
|
||||
<br>
|
||||
|
||||
|
@ -12008,3 +12008,21 @@ return static function (ContainerConfigurator $containerConfigurator): void {
|
|||
```
|
||||
|
||||
<br>
|
||||
|
||||
### ExplicitPublicClassMethodRector
|
||||
|
||||
Add explicit public method visibility.
|
||||
|
||||
- class: [`Rector\Visibility\Rector\ClassMethod\ExplicitPublicClassMethodRector`](../rules/Visibility/Rector/ClassMethod/ExplicitPublicClassMethodRector.php)
|
||||
|
||||
```diff
|
||||
class SomeClass
|
||||
{
|
||||
- function foo()
|
||||
+ public function foo()
|
||||
{
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
<br>
|
||||
|
|
Loading…
Reference in New Issue
Block a user