Skip to content

Commit

Permalink
tmp cr fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
grongor committed Jun 26, 2020
1 parent 5f1cab3 commit 896877f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions tests/Transport/ApiSnmpClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,12 +187,12 @@ static function (RequestInterface $request) : bool {
public function testThatParametersAreCorrectlyPropagatedToTheJsonRequest() : void
{
$this->client = $this->createMock(Client::class);
$psr71Factory = new Psr17Factory();
$psr17Factory = new Psr17Factory();

$apiSnmp = new ApiSnmpClient(
$this->client,
$psr71Factory,
$psr71Factory,
$psr17Factory,
$psr17Factory,
'http://somewhere',
'lorem',
'ipsum',
Expand Down Expand Up @@ -300,9 +300,9 @@ public function testWalkWithUnexpectedError() : void
private function createApiSnmp() : ApiSnmpClient
{
$this->client = $this->createMock(Client::class);
$psr71Factory = new Psr17Factory();
$psr17Factory = new Psr17Factory();

return new ApiSnmpClient($this->client, $psr71Factory, $psr71Factory, 'http://localhost');
return new ApiSnmpClient($this->client, $psr17Factory, $psr17Factory, 'http://localhost');
}

private function createResponse(string $body) : ResponseInterface
Expand Down
2 changes: 1 addition & 1 deletion tests/Transport/ValueParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function testParse(string $raw, $expected) : void
self::assertSame($expected, ValueParser::parse($raw));
}

/** @return iterable<mixed> */
/** @return iterable<list<mixed>> */
public function providerParse() : iterable
{
yield 'Counter64' => ['Counter64: 123456', '123456'];
Expand Down

0 comments on commit 896877f

Please sign in to comment.