Find the best Rector rule to solve your problem. Searching through 661 rules.

Found 1 rule. That's the one:

Configurable

AddParamTypeDeclarationRector

Add param types where needed

 class SomeClass
 {
-    public function process($name)
+    public function process(string $name)
     {
     }
 }
SETS:  symfony/* 5.0