]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update PHPDoc to reflect the actual behaviour
authorMorris Jobke <hey@morrisjobke.de>
Thu, 1 Nov 2018 13:44:35 +0000 (14:44 +0100)
committerMorris Jobke <hey@morrisjobke.de>
Thu, 1 Nov 2018 14:02:50 +0000 (15:02 +0100)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
apps/dav/lib/CardDAV/CardDavBackend.php

index 8ef0e0baf567e80b71289e78971e49fe44d997eb..80a3fe2f11f9c17e3e812baa27e12e16aa598583 100644 (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);