Merge pull request #4928 from totten/master-batch0
[civicrm-core.git] / CRM / Core / Config.php
index 049fdbc87aacbc5dff7fd2626f6d2754bcc02ffe..984d4dbd3f2acb05bacdaf94ce15a6fa5fd7713e 100644 (file)
@@ -193,7 +193,6 @@ class CRM_Core_Config extends CRM_Core_Config_Variables {
    *   whether to force a reconstruction.
    *
    * @return CRM_Core_Config
-   * @static
    */
   public static function &singleton($loadFromDB = TRUE, $force = FALSE) {
     if (self::$_singleton === NULL || $force) {
@@ -618,7 +617,8 @@ class CRM_Core_Config extends CRM_Core_Config_Variables {
    * @param string $driver
    *   'CRM_Mailing_BAO_Spool' or a name suitable for Mail::factory().
    * @param array $params
-   * @return Mail (More specifically, a class which implements the "send()" function)
+   * @return object
+   *   More specifically, a class which implements the "send()" function
    */
   public static function _createMailer($driver, $params) {
     if ($driver == 'CRM_Mailing_BAO_Spool') {
@@ -673,7 +673,6 @@ class CRM_Core_Config extends CRM_Core_Config_Variables {
    * @param array (reference ) the parameters that need a value
    *
    * @return boolean
-   * @static
    */
   public static function check(&$config, &$required) {
     foreach ($required as $name) {
@@ -693,7 +692,9 @@ class CRM_Core_Config extends CRM_Core_Config_Variables {
     CRM_Core_DAO::executeQuery($query);
   }
 
-  // This method should initialize auth sources
+  /**
+   * This method should initialize auth sources
+   */
   public function initAuthSrc() {
     $session = CRM_Core_Session::singleton();
     if ($session->get('userID') && !$session->get('authSrc')) {