We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See nette/caching@5ffe263#diff-c3abbeb8a7d04b072c4f38e38e10d763123f5503f1719f852ec21e1602c4c4db
-$result = $this->cache->save($key, function () { - return $this->getSomeHeavyResult(); -}); +$result = $this->getSomeHeavyResult(); +$this->cache->save($key, $result);
The text was updated successfully, but these errors were encountered:
I have never used it :) callback in load function yes, but save?
Sorry, something went wrong.
What's not forbidden... :)
That's from one of Nette project I work on.
I'm on it
Updated Rector to commit 026398c9e1078cb3ac5cac41767b620872166859
ab4ff53
rectorphp/rector-src@026398c Remove return type in case of void in RemoveUselessReturnTagRector (#5318)
TomasVotruba
Successfully merging a pull request may close this issue.
See nette/caching@5ffe263#diff-c3abbeb8a7d04b072c4f38e38e10d763123f5503f1719f852ec21e1602c4c4db
The text was updated successfully, but these errors were encountered: