Closed flecki89 closed 3 years ago
Hello curious contributor ! Since it seems to be your first contribution, make sure that you've been:
Hello,
Indeed the Phpdoc are outdated. I'll fix that asap, thanks for the report !
Cheers, Georges
Hello,
This is now fixed, expect the next release to be out in 2 weeks,
Thanks again ! Cheers, Georges
Configuration
Describe the bug
Not a functional bug, but psalm insists that the 3rd parameter in
Phpfastcache\Helper\Psr16Adapter::set
has to benull
.When I run psalm, it throws this error
where
$inst
is my Cache instanceTo Reproduce Steps to reproduce the behavior:
Psr16Adapter::set
with 3rd parameter setExpected behavior Psalm should not recognize this or similar errors.
Possible solution Changing https://github.com/PHPSocialNetwork/phpfastcache/blob/99a345aae21f1c6d54955f8bbb622f3fba39a322/lib/Phpfastcache/Helper/Psr16Adapter.php#L93 to
solves this problem.