X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FCommunityMessages.php;h=c15b13e129f251dbe2a30c922336fa1734544a10;hb=2e9051c710b62fd9fb5fd8bff48cdf5bb3d0e98e;hp=6d660dc4950fd6042f6c86c308507ab5ad0d4e1c;hpb=85a1be13f794b5f9380ed7bdab978ca3b656ef69;p=civicrm-core.git diff --git a/CRM/Core/CommunityMessages.php b/CRM/Core/CommunityMessages.php index 6d660dc495..c15b13e129 100644 --- a/CRM/Core/CommunityMessages.php +++ b/CRM/Core/CommunityMessages.php @@ -50,7 +50,11 @@ class CRM_Core_CommunityMessages { protected $cache; /** - * @var FALSE|string + * Url to retrieve community messages from. + * + * False means a retrieval will not be attempted. + * + * @var false|string */ protected $messagesUrl; @@ -67,9 +71,11 @@ class CRM_Core_CommunityMessages { } /** + * Class constructor. + * * @param CRM_Utils_Cache_Interface $cache * @param CRM_Utils_HttpClient $client - * @param null $messagesUrl + * @param string|false $messagesUrl */ public function __construct($cache, $client, $messagesUrl = NULL) { $this->cache = $cache; @@ -86,7 +92,7 @@ class CRM_Core_CommunityMessages { } /** - * Get the messages document (either from the cache or by downloading) + * Get the messages document (either from the cache or by downloading). * * @return NULL|array */