CRM-15735 fix - Update payment status for pay-later membership renewal ignores Receiv...
[civicrm-core.git] / CRM / Core / Component.php
index aab1d998947a4cfc6f8eab4db9706458e5733a74..85c69308675466cdbdfeec609a8ae5ea497de122 100644 (file)
@@ -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,7 +423,6 @@ class CRM_Core_Component {
    * @param array $tables
    *   Array of tables.
    *
-   * @return null
    */
   public static function tableNames(&$tables) {
     $info = self::_info();
@@ -462,4 +461,5 @@ class CRM_Core_Component {
 
     return $components;
   }
+
 }