apply rector rules: symfony **UP TO** 44

This commit is contained in:
2023-07-28 01:52:53 +02:00
parent b6a094aeee
commit c20f65eebb
88 changed files with 211 additions and 320 deletions

View File

@@ -174,7 +174,7 @@ final class ReportControllerNextTest extends WebTestCase
/**
* @return \Symfony\Component\DomCrawler\Form
*/
protected function getReportForm(Person $person, CustomFieldsGroup $group, Client $client)
protected function getReportForm(Person $person, CustomFieldsGroup $group, \Symfony\Component\BrowserKit\AbstractBrowser $client)
{
$url = sprintf(
'fr/person/%d/report/cfgroup/%d/new',

View File

@@ -417,7 +417,7 @@ final class ReportControllerTest extends WebTestCase
protected function getReportForm(
Person $person,
CustomFieldsGroup $group,
\Symfony\Component\BrowserKit\Client $client
\Symfony\Component\BrowserKit\AbstractBrowser $client
) {
$url = sprintf(
'fr/person/%d/report/cfgroup/%d/new',

View File

@@ -103,7 +103,7 @@ final class ReportSearchTest extends WebTestCase
}
/**
* @return \Symfony\Component\BrowserKit\Client
* @return \Symfony\Component\BrowserKit\AbstractBrowser
*/
private function getAuthenticatedClient(mixed $username = 'center a_social')
{