-
-
Notifications
You must be signed in to change notification settings - Fork 737
Closed
rectorphp/rector-src
#2948Labels
Description
Bug Report
| Subject | Details |
|---|---|
| Rector version | v0.14.2 |
Rector adds the same return type hint three times:
1) src/DependencyInjection/Configuration.php:251
---------- begin diff ----------
@@ @@
***
***
- private function processTree(array $tree): array
+ private function processTree(array $tree): array&array&array
***
// Process oauth
foreach ($tree[self::OAUTH] as $consumer => $oAuth) ***
----------- end diff -----------
Applied rules:
* ArgumentRemoverRector
* RenamePropertyRector
* WrapReturnRector
* StaticCallToNewRector (https://github.com/symfony/symfony/pull/35[30](https://github.com/SerendipityHQ/bundle-remotes/actions/runs/3073794470/jobs/4966149289#step:6:31)8)
* ReturnTypeDeclarationRector (https://wiki.php.net/rfc/scalar_type_hints_v5)Minimal PHP Code Causing Issue
Impossible to reproduce in the demo.
https://github.com/SerendipityHQ/bundle-remotes/actions/runs/3073794470/jobs/4966149289#step:6:24
Expected Behaviour
The code is not changed.