Skip to content

[Ldap] Unused 'sizeLimit' option #58514

Closed
@rela589n

Description

@rela589n

Symfony version(s) affected

7.1.x

Description

Looking at the AbstractQuery option 'sizeLimit', it seems that this option is never used.

        $resolver->setDefaults([
            'filter' => '*',
            'maxItems' => 0,
            'sizeLimit' => 0,
            'timeout' => 0,
            'deref' => static::DEREF_NEVER,
            'attrsOnly' => 0,
            'scope' => static::SCOPE_SUB,
            'pageSize' => 0,
        ]);

This is the only place where 'sizeLimit' is referenced in the whole ldap component

How to reproduce

☝️

Possible Solution

Remove unused option not to confuse the folks

Additional Context

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions