Find the best Rector rule to solve your problem
Removes defined arguments in defined methods and their calls.
$someObject = new SomeClass;
-$someObject->someMethod(true);
+$someObject->someMethod();
Add param types where needed
class SomeClass
{
- public function process($name)
+ public function process(string $name)
{
}
}