LDAP custom user filter problem

Hi,
I tried to setup a custom ldap user filter via configuration file.

                'userCustomFilters' => function(LdapQueryBuilder $query) {
                     echo $query;
                     return $query;
                },

I tried to test my configuration but I do get the following error message:

root@passbolt:/usr/share/php/passbolt# su -s /bin/bash -c "./bin/cake directory_sync test" www-data

Exception: Argument 1 passed to Passbolt\DirectorySync\Utility\DirectoryOrgSettings::{closure}() must be an instance of LdapQueryBuilder, instance of LdapTools\Query\LdapQueryBuilder given, called in /usr/share/php/passbolt/plugins/Passbolt/DirectorySync/src/Utility/LdapDirectory.php on line 316 in [/etc/passbolt/ldap.php, line 72]

Without the user filter I can see all my ldap user.
Any idea what I can do?

Thanks,
Jonas

Hi @bruestel Can you send this in to support@passbolt.com so the Pro team can have a look? Thanks.