X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FComponent.php;h=4a379eaf9f32118a69560a09747220fc67b26781;hb=abfbe385f5c0588d6643eae60cc38a5a9f95dd63;hp=8316aafd86e8a4d1ebd1d0d79c0d17dfd68fab29;hpb=fee14197b427c1781e369e5bfd36816afad6d7ee;p=civicrm-core.git diff --git a/CRM/Core/Component.php b/CRM/Core/Component.php index 8316aafd86..4a379eaf9f 100644 --- a/CRM/Core/Component.php +++ b/CRM/Core/Component.php @@ -47,7 +47,7 @@ class CRM_Core_Component { /** * @param bool $force * - * @return array|null + * @return CRM_Core_Component_Info[] */ private static function &_info($force = FALSE) { if (!isset(Civi::$statics[__CLASS__]['info'])|| $force) { @@ -84,7 +84,7 @@ class CRM_Core_Component { /** * @param bool $force * - * @return array + * @return CRM_Core_Component_Info[] * @throws Exception */ public static function &getComponents($force = FALSE) { @@ -132,7 +132,7 @@ class CRM_Core_Component { /** * @param bool $force * - * @return array|null + * @return CRM_Core_Component_Info[] */ static public function &getEnabledComponents($force = FALSE) { return self::_info($force);