Completed
Pull Request — master (#8634)
by Blizzz
36:51 queued 20:51
created
apps/user_ldap/lib/Access.php 1 patch
Doc Comments   +6 added lines, -5 removed lines patch added patch discarded remove patch
@@ -506,7 +506,7 @@  discard block
 block discarded – undo
506 506
 
507 507
 	/**
508 508
 	 * returns the internal Nextcloud name for the given LDAP DN of the user, false on DN outside of search DN or failure
509
-	 * @param string $dn the dn of the user object
509
+	 * @param string $fdn the dn of the user object
510 510
 	 * @param string $ldapName optional, the display name of the object
511 511
 	 * @return string|false with with the name to use in Nextcloud
512 512
 	 */
@@ -805,7 +805,7 @@  discard block
 block discarded – undo
805 805
 	 * the login filter.
806 806
 	 *
807 807
 	 * @param string $loginName
808
-	 * @param array $attributes optional, list of attributes to read
808
+	 * @param string[] $attributes optional, list of attributes to read
809 809
 	 * @return array
810 810
 	 */
811 811
 	public function fetchUsersByLoginName($loginName, $attributes = array('dn')) {
@@ -889,7 +889,7 @@  discard block
 block discarded – undo
889 889
 
890 890
 	/**
891 891
 	 * @param string $filter
892
-	 * @param string|string[] $attr
892
+	 * @param string[] $attr
893 893
 	 * @param int $limit
894 894
 	 * @param int $offset
895 895
 	 * @return array
@@ -937,7 +937,7 @@  discard block
 block discarded – undo
937 937
 
938 938
 	/**
939 939
 	 * @param string $filter
940
-	 * @param string|string[] $attr
940
+	 * @param string[] $attr
941 941
 	 * @param int $limit
942 942
 	 * @param int $offset
943 943
 	 * @return false|int
@@ -1036,7 +1036,7 @@  discard block
 block discarded – undo
1036 1036
 	/**
1037 1037
 	 * retrieved. Results will according to the order in the array.
1038 1038
 	 *
1039
-	 * @param $filter
1039
+	 * @param string $filter
1040 1040
 	 * @param $base
1041 1041
 	 * @param string[]|string|null $attr
1042 1042
 	 * @param int $limit optional, maximum results to be counted
@@ -1331,6 +1331,7 @@  discard block
 block discarded – undo
1331 1331
 	* escapes (user provided) parts for LDAP filter
1332 1332
 	* @param string $input, the provided value
1333 1333
 	* @param bool $allowAsterisk whether in * at the beginning should be preserved
1334
+	* @param string $input
1334 1335
 	* @return string the escaped string
1335 1336
 	*/
1336 1337
 	public function escapeFilterPart($input, $allowAsterisk = false) {
Please login to merge, or discard this patch.