Incorrect return type
authorPierre Rudloff <contact@rudloff.pro>
Sat, 23 Dec 2017 00:36:55 +0000 (01:36 +0100)
committerPierre Rudloff <contact@rudloff.pro>
Sat, 23 Dec 2017 00:36:55 +0000 (01:36 +0100)
include/api.php

index f44afd3..42937b3 100644 (file)
@@ -4594,7 +4594,7 @@ api_register_func('api/friendica/remoteauth', 'api_friendica_remoteauth', true);
  * @brief Return the item shared, if the item contains only the [share] tag
  *
  * @param array $item Sharer item
- * @return array Shared item or false if not a reshare
+ * @return array|false Shared item or false if not a reshare
  */
 function api_share_as_retweet(&$item)
 {