Update PHPDoc to reflect the actual behaviour

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2018-11-01 14:44:35 +01:00
parent d89edb28c4
commit 7246f2ace5
No known key found for this signature in database
GPG key ID: FE03C3A163FEDE68

View file

@ -1134,8 +1134,8 @@ class CardDavBackend implements BackendInterface, SyncSupport {
* Extract UID from vcard
*
* @param string $cardData the vcard raw data
* @return string the uid or empty if none
* @throws BadRequest
* @return string the uid
* @throws BadRequest if no UID is available
*/
private function getUID($cardData) {
$vCard = Reader::read($cardData);