mirror of
https://github.com/LDAPAccountManager/lam.git
synced 2025-10-03 01:39:33 +02:00
#451 PHPStan level 5
This commit is contained in:
parent
896cb33cc1
commit
55ba56cfa2
2 changed files with 2 additions and 2 deletions
|
@ -1013,7 +1013,7 @@ abstract class baseModule {
|
|||
* @param array $rawAccounts the user input data, contains one subarray for each account.
|
||||
* @param array $ids list of IDs for column position (e.g. "posixAccount_uid" => 5)
|
||||
* @param array $partialAccounts list of hash arrays (name => value) which are later added to LDAP
|
||||
* @param String $position current position in CSV
|
||||
* @param int $position current position in CSV
|
||||
* @param String $colName column name
|
||||
* @param String $attrName LDAP attribute name
|
||||
* @param String|String[] $regex for get_preg() (e.g. 'ascii')
|
||||
|
|
|
@ -242,7 +242,7 @@ class yubiKeyUser extends baseModule {
|
|||
}
|
||||
// add keys
|
||||
$message = $this->messages['yubiKeyId'][1];
|
||||
$this->mapSimpleUploadField($rawAccounts, $ids, $partialAccounts, (string) $i, 'yubiKeyUser_yubiKeyId', $attributeName, 'ascii', $message, $messages, '/,[ ]*/');
|
||||
$this->mapSimpleUploadField($rawAccounts, $ids, $partialAccounts, $i, 'yubiKeyUser_yubiKeyId', $attributeName, 'ascii', $message, $messages, '/,[ ]*/');
|
||||
}
|
||||
return $messages;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue