Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5e07953

Browse filesBrowse files
committed
[LDAP] fixed typos and CS
1 parent 22234e3 commit 5e07953
Copy full SHA for 5e07953

File tree

Expand file treeCollapse file tree

2 files changed

+4
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+4
-3
lines changed

‎src/Symfony/Component/Ldap/Adapter/EntryManagerInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Ldap/Adapter/EntryManagerInterface.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
* @author Bob van de Vijver <bobvandevijver@hotmail.com>
2323
* @author Kevin Schuurmans <kevin.schuurmans@freshheads.com>
2424
*
25+
* The move() methods must be added to the interface in Symfony 5.0
2526
* @method void move(Entry $entry, string $newParent) Moves an entry on the Ldap server
2627
*/
2728
interface EntryManagerInterface

‎src/Symfony/Component/Ldap/Adapter/ExtLdap/EntryManager.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Ldap/Adapter/ExtLdap/EntryManager.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public function rename(Entry $entry, $newRdn, $removeOldRdn = true)
114114
* Moves an entry on the Ldap server.
115115
*
116116
* @throws NotBoundException if the connection has not been previously bound.
117-
* @throws LdapException if an error is thrown during the rename operation.
117+
* @throws LdapException if an error is thrown during the rename operation.
118118
*/
119119
public function move(Entry $entry, string $newParent)
120120
{
@@ -156,10 +156,10 @@ public function applyOperations(string $dn, iterable $operations): void
156156
}
157157
}
158158

159-
private function parseRdnFromEntry(Entry $entry)
159+
private function parseRdnFromEntry(Entry $entry)
160160
{
161161
if (!preg_match('/^([^,]+),/', $entry->getDn(), $matches)) {
162-
throw new LdapException(sprintf('Entry "%s" malformed, could not parse RDN', $entry->getDn()));
162+
throw new LdapException(sprintf('Entry "%s" malformed, could not parse RDN.', $entry->getDn()));
163163
}
164164

165165
return $matches[1];

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.