X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FComponent.php;h=85c69308675466cdbdfeec609a8ae5ea497de122;hb=5c4d65599fee6dfdf661b4932d12c5905e60ac90;hp=a24414581806d7c887fcb9702ba73af8e91be183;hpb=353ffa53c335f7b94ebaddc701e46f2bb30c7048;p=civicrm-core.git diff --git a/CRM/Core/Component.php b/CRM/Core/Component.php index a244145818..85c6930867 100644 --- a/CRM/Core/Component.php +++ b/CRM/Core/Component.php @@ -23,7 +23,7 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ /** * Component stores all the static and dynamic information of the various @@ -230,7 +230,7 @@ class CRM_Core_Component { $cfg = $comp->getConfigObject(); $cfg->add($config, $oldMode); } - return; + return NULL; } /** @@ -327,7 +327,7 @@ class CRM_Core_Component { * * @return null */ - static function &defaultReturnProperties( + public static function &defaultReturnProperties( $mode, $includeCustomFields = TRUE ) { @@ -423,8 +423,6 @@ class CRM_Core_Component { * @param array $tables * Array of tables. * - * @return null - * @static */ public static function tableNames(&$tables) { $info = self::_info(); @@ -463,4 +461,5 @@ class CRM_Core_Component { return $components; } + }