refactor: fix phpstan errors in mock classes #6663
Annotations
3 errors
|
Psalm Analysis
Process completed with exit code 2.
|
|
InvalidParamDefault:
system/Test/Mock/MockResult.php#L89
system/Test/Mock/MockResult.php:89:15: InvalidParamDefault: Default value type 'stdClass' for argument 1 of method CodeIgniter\Test\Mock\MockResult::fetchObject does not match the given type class-string (see https://psalm.dev/062)
|
|
InvalidParamDefault:
system/Database/BaseResult.php#L532
system/Database/BaseResult.php:532:15: InvalidParamDefault: Default value type 'stdClass' for argument 1 of method CodeIgniter\Database\BaseResult::fetchObject does not match the given type class-string (see https://psalm.dev/062)
|