Merge pull request #5097 from PalanteJon/CRM-15917
[civicrm-core.git] / CRM / Core / Component / Config.php
index c43d242352287274e3c901220fd0fb9f31d0b046..82282b24286ccf2b054bc6a70616e7902f1133ce 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        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  * This abstract class provides the framework for component configuration
@@ -34,7 +34,6 @@
  * $Id$
  *
  */
-
 abstract class CRM_Core_Component_Config {
 
   /**
@@ -42,10 +41,8 @@ abstract class CRM_Core_Component_Config {
    * configuration file and injects them into system wide
    * configuration object.
    *
-   * @param $config
+   * @param CRM_Core_Config $config
    * @param $oldMode
-   *
-   * @return array collection of component settings
    */
   public function add($config, $oldMode) {
     foreach (get_class_vars(get_class($this)) as $key => $value) {
@@ -54,7 +51,7 @@ abstract class CRM_Core_Component_Config {
   }
 
   /**
-   * TODO
+   * @param array $defaults
    */
   public function setDefaults(&$defaults) {
     foreach (get_class_vars(get_class($this)) as $key => $value) {
@@ -63,4 +60,5 @@ abstract class CRM_Core_Component_Config {
       }
     }
   }
+
 }