update api

This commit is contained in:
TomasVotruba 2018-02-24 11:01:52 +01:00
parent fd04d89c95
commit 866227ebe4

View File

@ -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');
}
}