Skip to content

v5.3.4

Latest

Choose a tag to compare

@awcodes awcodes released this 31 Aug 16:01

Changed

  • Removed the unused third parameter from CuratorPicker::relationship().

The signature carried ?Closure $callback = null from the first commit that added relationship support, copied from Filament's Select::relationship() where the equivalent argument is $modifyQueryUsing. It was never referenced in the method body, so anything passed to it was silently discarded — worse than not offering it, since the call reads as though it does something.

No caller breaks: nothing in the package, its tests or its docs ever passed a third argument, and PHP accepts extra arguments to userland functions without error.