Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 40b19f6

Browse files
committed
Clean Docblocks and and rename Modification => UpdateOperation in one docblock
1 parent 8e2e96f commit 40b19f6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,7 @@ private function getConnectionResource()
124124
}
125125

126126
/**
127-
* @param string $dn Distinguished name to apply operations on
128-
* @param iterable|UpdateOperation[] $operations An array or iterable of Modification instances
127+
* @param iterable|UpdateOperation[] $operations An array or iterable of UpdateOperation instances
129128
*
130129
* @throws UpdateOperationException in case of an error
131130
*/
@@ -137,7 +136,7 @@ public function applyOperations(string $dn, iterable $operations): void
137136
}
138137

139138
if (!@ldap_modify_batch($this->getConnectionResource(), $dn, $operationsMapped)) {
140-
throw new UpdateOperationException(sprintf('Error executing batch modification on "%s": "%s".', $dn, ldap_error($this->getConnectionResource())));
139+
throw new UpdateOperationException(sprintf('Error executing UpdateOperation on "%s": "%s".', $dn, ldap_error($this->getConnectionResource())));
141140
}
142141
}
143142
}

src/Symfony/Component/Ldap/Adapter/ExtLdap/UpdateOperation.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ class UpdateOperation
2929
/**
3030
* @param int $operationType An LDAP_MODIFY_BATCH_* constant
3131
* @param string $attribute The attribute to batch modify on
32-
* @param array|null $values
3332
*
3433
* @throws UpdateOperationException on consistency errors during construction
3534
*/

0 commit comments

Comments
 (0)