Skip to content

refactor: fix phpstan errors in mock classes #6663

refactor: fix phpstan errors in mock classes

refactor: fix phpstan errors in mock classes #6663

Triggered via pull request June 3, 2025 10:52
Status Failure
Total duration 1m 11s
Artifacts

test-psalm.yml

on: pull_request
Psalm Analysis
1m 5s
Psalm Analysis
Fit to window
Zoom out
Zoom in

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)