Skip to content

Commit decb00b

Browse files
committed
minor #15453 [Ldap] Update ldap.rst (jljohnstone)
This PR was merged into the 5.4 branch. Discussion ---------- [Ldap] Update ldap.rst Add single quotes in filter option documentation <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- e6c5c29 Update ldap.rst
2 parents ba67490 + e6c5c29 commit decb00b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/ldap.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ to the ``LDAP_SCOPE_BASE`` scope of :phpfunction:`ldap_read`) and ``SCOPE_ONE``
117117

118118
Use the ``filter`` option to only retrieve some specific attributes:
119119

120-
$query = $ldap->query('dc=symfony,dc=com', '...', ['filter' => ['cn, mail']);
120+
$query = $ldap->query('dc=symfony,dc=com', '...', ['filter' => ['cn', 'mail']);
121121

122122
Creating or Updating Entries
123123
----------------------------

0 commit comments

Comments
 (0)