reformat code

This commit is contained in:
2025-01-05 15:20:56 +01:00
parent 19338d2a58
commit 3911584ea7
28 changed files with 87 additions and 37 deletions

View File

@ -13,6 +13,8 @@
* @link https://www.oxidmodule.com
*/
declare(strict_types=1);
namespace D3\KlicktippPhpClient\tests\integration\Resources;
use D3\KlicktippPhpClient\Entities\Field as FieldEntity;
@ -37,7 +39,7 @@ class FieldTest extends IntegrationTestCase
* @covers \D3\KlicktippPhpClient\Resources\Field::index
* @dataProvider indexDataProvider
*/
public function testIndex(ResponseInterface $response, ?FieldList $expected, bool $expectException = false)
public function testIndex(ResponseInterface $response, ?FieldList $expected, bool $expectException = false): void
{
$sut = new Field($this->getConnectionMock($response));
@ -102,7 +104,7 @@ class FieldTest extends IntegrationTestCase
* @covers \D3\KlicktippPhpClient\Resources\Field::getEntity
* @dataProvider getDataProvider
*/
public function testGet(ResponseInterface $response, ?array $expected, bool $expectException = false)
public function testGet(ResponseInterface $response, ?array $expected, bool $expectException = false): void
{
$sut = new Field($this->getConnectionMock($response));
@ -139,7 +141,7 @@ class FieldTest extends IntegrationTestCase
* @covers \D3\KlicktippPhpClient\Resources\Field::create
* @dataProvider createDataProvider
*/
public function testCreate(ResponseInterface $response, ?string $expected, bool $expectException = false)
public function testCreate(ResponseInterface $response, ?string $expected, bool $expectException = false): void
{
$sut = new Field($this->getConnectionMock($response));
@ -170,7 +172,7 @@ class FieldTest extends IntegrationTestCase
* @covers \D3\KlicktippPhpClient\Resources\Field::update
* @dataProvider updateDataProvider
*/
public function testUpdate(ResponseInterface $response, ?bool $expected, bool $expectException = false)
public function testUpdate(ResponseInterface $response, ?bool $expected, bool $expectException = false): void
{
$sut = new Field($this->getConnectionMock($response));
@ -201,7 +203,7 @@ class FieldTest extends IntegrationTestCase
* @covers \D3\KlicktippPhpClient\Resources\Field::delete
* @dataProvider deleteDataProvider
*/
public function testDelete(ResponseInterface $response, ?bool $expected, bool $expectException = false)
public function testDelete(ResponseInterface $response, ?bool $expected, bool $expectException = false): void
{
$sut = new Field($this->getConnectionMock($response));