X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FConfig.php;h=3060cc137e469557fc31a8e77d09c55b7b142f1a;hb=72b3a70c5e7890c69dd70bf00092e1217c5f15b7;hp=ccaf9c6700193dc088e946b160342efc8a51b85c;hpb=6f2500ee7589360102875df4367568fe87485df6;p=civicrm-core.git diff --git a/CRM/Core/Config.php b/CRM/Core/Config.php index ccaf9c6700..3060cc137e 100644 --- a/CRM/Core/Config.php +++ b/CRM/Core/Config.php @@ -187,10 +187,10 @@ class CRM_Core_Config extends CRM_Core_Config_Variables { /** * Singleton function used to manage this object. * - * @param $loadFromDB - * Boolean whether to load from the database. - * @param $force - * Boolean whether to force a reconstruction. + * @param bool $loadFromDB + * whether to load from the database. + * @param bool $force + * whether to force a reconstruction. * * @return CRM_Core_Config * @static @@ -618,7 +618,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') { @@ -654,7 +655,12 @@ class CRM_Core_Config extends CRM_Core_Config_Variables { // Whether we delete/create or simply preserve directories, we should // certainly make sure the restrictions are enforced. - foreach (array($this->templateCompileDir, $this->uploadDir, $this->configAndLogDir, $this->customFileUploadDir) as $dir) { + foreach (array( + $this->templateCompileDir, + $this->uploadDir, + $this->configAndLogDir, + $this->customFileUploadDir + ) as $dir) { if ($dir && is_dir($dir)) { CRM_Utils_File::restrictAccess($dir); }