Narrow array types #236
Annotations
10 errors
|
php-stan:
tests/Api/PaymentRequestTest.php#L120
Call to method PHPUnit\Framework\Assert::assertIsArray() with array<int, string> will always evaluate to true.
|
|
php-stan:
tests/Api/InvoiceTextTest.php#L68
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'Altapay\\Response\\Embeds\\Address' and Altapay\Response\Embeds\Address will always evaluate to true.
|
|
php-stan:
tests/Api/InvoiceTextTest.php#L63
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'DateTime' and DateTime will always evaluate to true.
|
|
php-stan:
tests/Api/InvoiceTextTest.php#L61
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'DateTime' and DateTime will always evaluate to true.
|
|
php-stan:
tests/Api/HeaderTest.php#L37
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'Altapay\\Response\\Embeds\\Header' and Altapay\Response\Embeds\Header will always evaluate to true.
|
|
php-stan:
tests/Api/FundingListTest.php#L89
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'DateTime' and DateTime will always evaluate to true.
|
|
php-stan:
tests/Api/FundingListTest.php#L86
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'DateTime' and DateTime will always evaluate to true.
|
|
php-stan:
tests/Api/FundingListTest.php#L80
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'Altapay\\Response\\Embeds\\Funding' and Altapay\Response\Embeds\Funding will always evaluate to true.
|
|
php-stan:
tests/Api/CaptureReservationTest.php#L57
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'Altapay\\Response\\Embeds\\Transaction' and Altapay\Response\Embeds\Transaction will always evaluate to true.
|
|
php-stan:
tests/Api/CallbackTest.php#L165
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'Altapay\\Response\\CallbackResponse' and Altapay\Response\CallbackResponse will always evaluate to true.
|