From f5cb6148cfa37b7471c15dcb070f2f34ee7d904c Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 27 Jul 2019 21:45:36 +0000 Subject: [PATCH] Improved documentation --- src/Protocol/ActivityPub.php | 2 +- src/Protocol/Diaspora.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Protocol/ActivityPub.php b/src/Protocol/ActivityPub.php index 14fca625a8..3a8a5e5b12 100644 --- a/src/Protocol/ActivityPub.php +++ b/src/Protocol/ActivityPub.php @@ -199,7 +199,7 @@ class ActivityPub * Checks if the given contact url does support ActivityPub * * @param string $url profile url - * @param boolean $update Update the profile + * @param boolean $update true = always update, false = never update, null = update when not found or outdated * @return boolean * @throws \Friendica\Network\HTTPException\InternalServerErrorException * @throws \ImagickException diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index 119ce72f18..325debe7bc 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -942,7 +942,7 @@ class Diaspora * @brief Fetches data for a given handle * * @param string $handle The handle - * @param boolean $update Update the profile + * @param boolean $update true = always update, false = never update, null = update when not found or outdated * * @return array the queried data * @throws \Friendica\Network\HTTPException\InternalServerErrorException @@ -1126,7 +1126,7 @@ class Diaspora * Checks if the given contact url does support ActivityPub * * @param string $url profile url - * @param boolean $update Update the profile + * @param boolean $update true = always update, false = never update, null = update when not found or outdated * @return boolean * @throws \Friendica\Network\HTTPException\InternalServerErrorException * @throws \ImagickException