mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user