Call to an undefined method Illuminate\Contracts\Cache\Repository::lock()
#2061
Labels
bug
Something isn't working
Illuminate\Contracts\Cache\Repository::lock()
#2061
Description
I want to use the
lock()
method on the database cache store using the code below and phpstan complains that thelock()
method isn't found on the cache repository contract.Not sure how to best tackle that? To me this code seems perflectly valid in terms of syntax.
Laravel code where the issue was found
The text was updated successfully, but these errors were encountered: