[Halo] Use array typehint instead of callable typehint

Review Request #815 — Created Nov. 8, 2021 and submitted

pprkut
Lunr.Halo
264f097...
lunr
Callable is actually wrong, since we need an array format here
with class and method it in, otherwise we can't determine the
parameters we need to pass to uopz. Not all callables provide
that info.

Unit tests

smillernl
  1. Ship It!
  2. 
      
smillernl
  1. 
      
  2. src/Lunr/Halo/LunrBaseTest.php (Diff revision 1)
     
     

    We might be able to improve this with https://phpstan.org/writing-php-code/phpdoc-types#array-shapes

  3. 
      
pprkut
Review request changed

Status: Closed (submitted)

Change Summary:

Merged into master

Loading...