Skip to content

Commit

Permalink
[automated] Re-Generate Nodes/Rectors Documentation (#2724)
Browse files Browse the repository at this point in the history
Co-authored-by: TomasVotruba <TomasVotruba@users.noreply.github.com>
  • Loading branch information
TomasVotruba and TomasVotruba committed Jul 31, 2022
1 parent 34cdbb7 commit ff1ba89
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions build/target-repository/docs/rector_rules_overview.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 409 Rules Overview
# 410 Rules Overview

<br>

Expand Down Expand Up @@ -48,7 +48,7 @@

- [Php74](#php74) (13)

- [Php80](#php80) (17)
- [Php80](#php80) (18)

- [Php81](#php81) (11)

Expand Down Expand Up @@ -6058,6 +6058,27 @@ Change ternary type resolve to `get_debug_type()`

<br>

### MixedTypeRector

Change mixed docs type to mixed typed

- class: [`Rector\Php80\Rector\FunctionLike\MixedTypeRector`](../rules/Php80/Rector/FunctionLike/MixedTypeRector.php)

```diff
class SomeClass
{
- /**
- * @param mixed $param
- */
- public function run($param)
+ public function run(mixed $param)
{
}
}
```

<br>

### Php8ResourceReturnToObjectRector

Change `is_resource()` to instanceof Object
Expand Down

0 comments on commit ff1ba89

Please sign in to comment.