mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 19:53:14 +01:00
update api
This commit is contained in:
parent
fd04d89c95
commit
866227ebe4
@ -20,10 +20,10 @@ final class RectorProvider implements RectorProviderInterface
|
||||
|
||||
public function provide(): RectorInterface
|
||||
{
|
||||
return $this->caseRectorBuilder->matchMethodCallByType('@todo')
|
||||
return $this->caseRectorBuilder->create()
|
||||
->matchMethodCallByType('@todo')
|
||||
->matchMethodName('@todo')
|
||||
->changeMethodNameTo('@todo')
|
||||
->addArgument(2, '@todo')
|
||||
->build();
|
||||
->addArgument(2, '@todo');
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user