Run Rector on your code to see what it can do for you:

 <?php
 
 final class DemoFile
         $this->someCall($value);
     }
 
+    /**
+     * @param list $value
+     */
     private function someCall(array $value)
     {
     }
 }
PHP snippet to change

Applied Rules:

Not a change you expect?

Config  rector.php
Rector version: 9d02f9 - released at 2026-01-29 17:51