#65244Allow closures / anonymous functions for file filters in LocalDriver
Description
Filters for directory items are called through call_user_func($filter, $args…).
As of now this doesn’t work with closures, since $filter is checked beforehand with is_array() instead of is_callable(), which would be the correct way of checking for a callable array.