-
-
src/Lunr/Corona/Tests/ModelCacheTest.php (Diff revision 1) Can you add a test for a callable that needs an argument?, like
fn ($a) => $a . 'test'
or some suchI'm a bit unsure how
call_user_func
will have to deal with that.
-
-
src/Lunr/Corona/Model.php (Diff revision 2) Some cases we need to set the
ttl
, better to add that here