@@ -34,10 +34,10 @@ public function __construct(
3434 /**
3535 * update appconfig (admin setting)
3636 *
37- * @param {String} key the identifier to change
38- * @param {String} allow the value to set
37+ * @param string $ key the identifier to change
38+ * @param string $ allow the value to set
3939 *
40- * @returns { JSONResponse} an empty JSONResponse with respective http status code
40+ * @return JSONResponse an empty JSONResponse with respective http status code
4141 */
4242 public function setAppConfig ($ key , $ allow ) {
4343 $ permittedKeys = ['allowSocialSync ' ];
@@ -53,10 +53,10 @@ public function setAppConfig($key, $allow) {
5353 *
5454 * update appconfig (user setting)
5555 *
56- * @param {String} key the identifier to change
57- * @param {String} allow the value to set
56+ * @param string $ key the identifier to change
57+ * @param string $ allow the value to set
5858 *
59- * @returns { JSONResponse} an empty JSONResponse with respective http status code
59+ * @return JSONResponse an empty JSONResponse with respective http status code
6060 */
6161 public function setUserConfig ($ key , $ allow ) {
6262 $ user = $ this ->userSession ->getUser ();
@@ -74,9 +74,9 @@ public function setUserConfig($key, $allow) {
7474 *
7575 * retrieve appconfig (user setting)
7676 *
77- * @param {String} key the identifier to retrieve
77+ * @param string $ key the identifier to retrieve
7878 *
79- * @returns { string} the desired value or null if not existing
79+ * @return string|null the desired value or null if not existing
8080 */
8181 public function getUserConfig ($ key ) {
8282 $ user = $ this ->userSession ->getUser ();
@@ -93,7 +93,7 @@ public function getUserConfig($key) {
9393 *
9494 * returns an array of supported social networks
9595 *
96- * @returns { array} array of the supported social networks
96+ * @return array array of the supported social networks
9797 */
9898 public function getSupportedNetworks () : array {
9999 return $ this ->socialApiService ->getSupportedNetworks ();
@@ -105,11 +105,11 @@ public function getSupportedNetworks() : array {
105105 *
106106 * Retrieves social profile data for a contact and updates the entry
107107 *
108- * @param {String} addressbookId the addressbook identifier
109- * @param {String} contactId the contact identifier
110- * @param {String} network the social network to use (if unkown : take first match)
108+ * @param string $ addressbookId the addressbook identifier
109+ * @param string $ contactId the contact identifier
110+ * @param string $ network the social network to use (if unknown : take first match)
111111 *
112- * @returns { JSONResponse} an empty JSONResponse with respective http status code
112+ * @return JSONResponse an empty JSONResponse with respective http status code
113113 */
114114 public function updateContact (string $ addressbookId , string $ contactId , string $ network ) : JSONResponse {
115115 return $ this ->socialApiService ->updateContact ($ addressbookId , $ contactId , $ network );
0 commit comments