DX: apply rector rules up to php8.0

This commit is contained in:
2023-04-15 01:05:37 +02:00
parent d8870e906f
commit dde3002100
714 changed files with 2348 additions and 9263 deletions

View File

@@ -103,10 +103,8 @@ final class RelationshipApiControllerTest extends WebTestCase
/**
* @dataProvider personProvider
*
* @param mixed $personId
*/
public function testGetRelationshipByPerson($personId)
public function testGetRelationshipByPerson(mixed $personId)
{
$this->client->request(Request::METHOD_GET, sprintf('/api/1.0/relations/relationship/by-person/%d.json', $personId));
@@ -116,13 +114,8 @@ final class RelationshipApiControllerTest extends WebTestCase
/**
* @dataProvider relationProvider
*
* @param mixed $fromPersonId
* @param mixed $toPersonId
* @param mixed $relationId
* @param mixed $isReverse
*/
public function testPostRelationship($fromPersonId, $toPersonId, $relationId, $isReverse): void
public function testPostRelationship(mixed $fromPersonId, mixed $toPersonId, mixed $relationId, mixed $isReverse): void
{
$this->client->request(
Request::METHOD_POST,