chobie\Jira\Api\Authenti...icationInterface::class of type string is incompatible with the type array expected by parameter $args of Mockery::mock().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
'sendRequest' of type string is incompatible with the type array expected by parameter $methodNames of Mockery\MockInterface::shouldReceive().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
TogglJira\Jira\Api::REQUEST_POST of type string is incompatible with the type array<mixed,mixed> expected by parameter $args of Mockery\Expectation::with().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
$authenticationMock of type Mockery\MockInterface is incompatible with the type array<mixed,mixed> expected by parameter $args of Mockery\Expectation::with().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
false of type false is incompatible with the type array<mixed,mixed> expected by parameter $args of Mockery\Expectation::with().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
'{}' of type string is incompatible with the type array<mixed,mixed> expected by parameter $args of Mockery\Expectation::andReturn().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
'{}' of type string is incompatible with the type array expected by parameter $args of Mockery\ExpectationInterface::andReturn().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
$authenticationMock of type Mockery\MockInterface is incompatible with the type chobie\Jira\Api\Authenti...AuthenticationInterface expected by parameter $authentication of TogglJira\Jira\Api::__construct().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
42
$api = new Api($endPoint, /** @scrutinizer ignore-type */ $authenticationMock, $clientMock);
$clientMock of type Mockery\MockInterface is incompatible with the type chobie\Jira\Api\Client\ClientInterface|null expected by parameter $client of TogglJira\Jira\Api::__construct().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
42
$api = new Api($endPoint, $authenticationMock, /** @scrutinizer ignore-type */ $clientMock);