null is a valid parameter

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2017-07-19 19:57:52 +02:00 committed by Roeland Jago Douma
parent dfd8125aeb
commit 6fb84ebb71
No known key found for this signature in database
GPG key ID: F941078878347C0C

View file

@ -209,7 +209,7 @@ class CertificateManager implements ICertificateManager {
/**
* Get the path to the certificate bundle for this user
*
* @param string $uid (optional) user to get the certificate bundle for, use `null` to get the system bundle
* @param string|null $uid (optional) user to get the certificate bundle for, use `null` to get the system bundle
* @return string
*/
public function getCertificateBundle($uid = '') {
@ -241,7 +241,7 @@ class CertificateManager implements ICertificateManager {
}
/**
* @param string $uid (optional) user to get the certificate path for, use `null` to get the system path
* @param string|null $uid (optional) user to get the certificate path for, use `null` to get the system path
* @return string
*/
private function getPathToCertificates($uid = '') {