Add parameter types in AccessKey, fix deprecates PHPUnit method #101
Annotations
3 errors
Run PHPStan with PHP 8.2:
tests/Unit/Helper/AccessableTraitTest.php#L43
Parameter #1 $key of method Art4\JsonApiClient\Tests\Fixtures\AccessableTraitMock::has() expects Art4\JsonApiClient\Helper\AccessKey|int|string, mixed given.
|
Run PHPStan with PHP 8.2:
tests/Unit/Helper/AccessableTraitTest.php#L70
Parameter #1 $key of method Art4\JsonApiClient\Tests\Fixtures\AccessableTraitMock::get() expects Art4\JsonApiClient\Helper\AccessKey|int|string, mixed given.
|
Run PHPStan with PHP 8.2
Process completed with exit code 1.
|