comment fixes
authoreileenmcnaugton <eileen@fuzion.co.nz>
Thu, 3 Sep 2015 08:38:35 +0000 (20:38 +1200)
committereileenmcnaugton <eileen@fuzion.co.nz>
Thu, 3 Sep 2015 08:38:35 +0000 (20:38 +1200)
32 files changed:
CRM/Import/DataSource/CSV.php
CRM/Pledge/Form/Task.php
CRM/SMS/Form/Upload.php
CRM/Utils/Cache/Interface.php
CRM/Utils/Hook.php
CRM/Utils/ICalendar.php
CRM/Utils/Mail/EmailProcessor.php
CRM/Utils/Migrate/Export.php
CRM/Utils/Migrate/Import.php
CRM/Utils/OptionBag.php
CRM/Utils/Pager.php
CRM/Utils/PseudoConstant.php
CRM/Utils/Recent.php
CRM/Utils/SoapServer.php
CRM/Utils/Sort.php
CRM/Utils/System.php
CRM/Utils/System/Drupal.php
CRM/Utils/System/Drupal6.php
CRM/Utils/System/Joomla.php
CRM/Utils/System/Soap.php
CRM/Utils/Token.php
CRM/Utils/Tree.php
CRM/Utils/Wrapper.php
Civi/CCase/Analyzer.php
Civi/Core/Lock/NullLock.php
bin/ContributionProcessor.php
bin/encryptDB.php
bin/migrate/export.php
bin/migrate/exportJSON.php
bin/migrate/import.php
bin/migrate/importJSON.php
bin/migrate/move.php

index 57aea4ab912fbb93e61df753b6d4987af660eab8..54218d7fa11a863dc89a2fa9674e1dec9273d33e 100644 (file)
@@ -29,8 +29,6 @@
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 class CRM_Import_DataSource_CSV extends CRM_Import_DataSource {
   const
@@ -53,14 +51,12 @@ class CRM_Import_DataSource_CSV extends CRM_Import_DataSource {
   }
 
   /**
-   * This is function is called by the form object to get the DataSource's
-   * form snippet. It should add all fields necesarry to get the data
+   * This is function is called by the form object to get the DataSource's form snippet.
+   *
+   * It should add all fields necessary to get the data
    * uploaded to the temporary table in the DB.
    *
    * @param CRM_Core_Form $form
-   *
-   * @return void
-   *   (operates directly on form argument)
    */
   public function buildQuickForm(&$form) {
     $form->add('hidden', 'hidden_dataSource', 'CRM_Import_DataSource_CSV');
index 14175f212e19a6a7544d47eea5496dfe60db82a0..7aac36e1d3b8fe4759f05328ba97c19b1657718d 100644 (file)
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 
 /**
- * This class generates task actions for CiviEvent
- *
+ * This class generates task actions for CiviEvent.
  */
 class CRM_Pledge_Form_Task extends CRM_Core_Form {
 
@@ -69,10 +66,6 @@ class CRM_Pledge_Form_Task extends CRM_Core_Form {
 
   /**
    * Build all the data structures needed to build the form.
-   *
-   * @param
-   *
-   * @return void
    */
   public function preProcess() {
     self::preProcessCommon($this);
@@ -154,9 +147,6 @@ class CRM_Pledge_Form_Task extends CRM_Core_Form {
    * @param string $nextType
    * @param string $backType
    * @param bool $submitOnce
-   *
-   *
-   * @return void
    */
   public function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) {
     $this->addButtons(array(
index 64a21bc40545929e0ce783a514c45135f40db12e..d2c471f844beb66a02b49b59af257fc6d922bbd7 100644 (file)
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 
 /**
- * This file is used to build the form configuring mass sms details
+ * This file is used to build the form configuring mass sms details.
  */
 class CRM_SMS_Form_Upload extends CRM_Core_Form {
   public $_mailingID;
@@ -48,10 +46,6 @@ class CRM_SMS_Form_Upload extends CRM_Core_Form {
 
   /**
    * Set default values for the form.
-   * the default values are retrieved from the database
-   *
-   *
-   * @return void
    */
   public function setDefaultValues() {
     $mailingID = CRM_Utils_Request::retrieve('mid', 'Integer', $this, FALSE, NULL);
@@ -120,8 +114,6 @@ class CRM_SMS_Form_Upload extends CRM_Core_Form {
 
   /**
    * Build the form object.
-   *
-   * @return void
    */
   public function buildQuickForm() {
     $session = CRM_Core_Session::singleton();
index 00449c71f853b3c35edbfc3e11805bd52749b44b..4363d51f6f9192f9e69e112118eb2b3cc187d8b8 100644 (file)
@@ -29,8 +29,6 @@
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 interface CRM_Utils_Cache_Interface {
 
@@ -39,7 +37,6 @@ interface CRM_Utils_Cache_Interface {
    *
    * @param string $key
    * @param mixed $value
-   * @return void
    */
   public function set($key, &$value);
 
@@ -56,14 +53,11 @@ interface CRM_Utils_Cache_Interface {
    * Delete a value from the cache.
    *
    * @param string $key
-   * @return void
    */
   public function delete($key);
 
   /**
    * Delete all values from the cache.
-   *
-   * @return void
    */
   public function flush();
 
index 7f47c22a48f51eb333d9d310aca4af5f2b57bbff..8d2ccc633b1998dee18df2621c36dc20d91db732 100644 (file)
@@ -29,8 +29,6 @@
  *
  * @package CiviCRM_Hook
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id: $
- *
  */
 abstract class CRM_Utils_Hook {
 
@@ -1168,7 +1166,7 @@ abstract class CRM_Utils_Hook {
    *                  fieldHeaders    - field headers
    *                  fields          - import fields
    *
-   * @return void
+   * @return mixed
    */
   public static function import($object, $usage, &$objectRef, &$params) {
     return self::singleton()->invoke(4, $object, $usage, $objectRef, $params,
@@ -1245,7 +1243,7 @@ abstract class CRM_Utils_Hook {
    * @param array $selector
    *   the selector object. Allows you access to the context of the search
    *
-   * @return void
+   * @return mixed
    *   modify the header and values object to pass the data u need
    */
   public static function searchColumns($objectName, &$headers, &$rows, &$selector) {
@@ -1783,7 +1781,7 @@ abstract class CRM_Utils_Hook {
    * @param int $otherCaseId
    * @param bool $changeClient
    *
-   * @return void
+   * @return mixed
    */
   public static function pre_case_merge($mainContactId, $mainCaseId = NULL, $otherContactId = NULL, $otherCaseId = NULL, $changeClient = FALSE) {
     return self::singleton()
@@ -1799,7 +1797,7 @@ abstract class CRM_Utils_Hook {
    * @param int $otherCaseId
    * @param bool $changeClient
    *
-   * @return void
+   * @return mixed
    */
   public static function post_case_merge($mainContactId, $mainCaseId = NULL, $otherContactId = NULL, $otherCaseId = NULL, $changeClient = FALSE) {
     return self::singleton()
index ea56475451ab0c9e6560a3daded8591911ec00e8..bae913ed9dd6442457a3f8b2c3d0f59b5b0dc0fa 100644 (file)
@@ -29,8 +29,6 @@
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 
 /**
@@ -38,7 +36,6 @@
  * API for event export in iCalendar format
  * as outlined in Internet Calendaring and
  * Scheduling Core Object Specification
- *
  */
 class CRM_Utils_ICalendar {
 
@@ -103,8 +100,6 @@ class CRM_Utils_ICalendar {
    *   The file name (for downloads).
    * @param string $disposition
    *   How the file should be sent ('attachment' for downloads).
-   *
-   * @return void
    */
   public static function send($calendar, $content_type = 'text/calendar', $charset = 'us-ascii', $fileName = NULL, $disposition = NULL) {
     $config = CRM_Core_Config::singleton();
index db9a23e70d5fe12adf039999faea9b89f3296f24..7450684b7b1cdc39e87e57a5725b831bd01ab35c 100644 (file)
@@ -29,8 +29,6 @@
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 
 // we should consider moving these to the settings table
@@ -39,7 +37,7 @@ define('EMAIL_ACTIVITY_TYPE_ID', NULL);
 define('MAIL_BATCH_SIZE', 50);
 
 /**
- * Class CRM_Utils_Mail_EmailProcessor
+ * Class CRM_Utils_Mail_EmailProcessor.
  */
 class CRM_Utils_Mail_EmailProcessor {
 
@@ -65,14 +63,12 @@ class CRM_Utils_Mail_EmailProcessor {
   }
 
   /**
-   * Delete old files from a given directory (recursively)
+   * Delete old files from a given directory (recursively).
    *
    * @param string $dir
    *   Directory to cleanup.
    * @param int $age
    *   Files older than this many seconds will be deleted (default: 60 days).
-   *
-   * @return void
    */
   public static function cleanupDir($dir, $age = 5184000) {
     // return early if we can’t read/write the dir
@@ -96,9 +92,7 @@ class CRM_Utils_Mail_EmailProcessor {
   }
 
   /**
-   * Process the mailboxes that aren't default (ie. that aren't used by civiMail for the bounce)
-   *
-   * @return void
+   * Process the mailboxes that aren't default (ie. that aren't used by civiMail for the bounce).
    */
   public static function processActivities() {
     $dao = new CRM_Core_DAO_MailSettings();
@@ -120,8 +114,6 @@ class CRM_Utils_Mail_EmailProcessor {
    * Process the mailbox for all the settings from civicrm_mail_settings.
    *
    * @param bool|string $civiMail if true, processing is done in CiviMail context, or Activities otherwise.
-   *
-   * @return void
    */
   public static function process($civiMail = TRUE) {
     $dao = new CRM_Core_DAO_MailSettings();
index 3b66f0dcbba0476f2ff35782993b996726fee57d..f0e584cb9c585a98d0e2651ed50deeae950526cc 100644 (file)
@@ -29,8 +29,6 @@
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 class CRM_Utils_Migrate_Export {
 
@@ -166,9 +164,7 @@ class CRM_Utils_Migrate_Export {
   }
 
   /**
-   * Scan local customizations and build an in-memory representation
-   *
-   * @return void
+   * Scan local customizations and build an in-memory representation.
    */
   public function build() {
     // fetch the option group / values for
@@ -266,9 +262,10 @@ class CRM_Utils_Migrate_Export {
   }
 
   /**
+   * Build custom groups.
+   *
    * @param array $customGroupIds
    *   List of custom groups to export.
-   * @return void
    */
   public function buildCustomGroups($customGroupIds) {
     $customGroupIdsSql = implode(',', array_filter($customGroupIds, 'is_numeric'));
@@ -322,7 +319,6 @@ class CRM_Utils_Migrate_Export {
   /**
    * @param array $ufGroupIds
    *   List of custom groups to export.
-   * @return void
    */
   public function buildUFGroups($ufGroupIds) {
     $ufGroupIdsSql = implode(',', array_filter($ufGroupIds, 'is_numeric'));
index fc0e0969888b26057e970724252c1e7a63e3bb92..9f09ccd938a6386d36e1c0078c0f96fd1dc7f761 100644 (file)
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 class CRM_Utils_Migrate_Import {
   /**
+   * Class constructor.
    */
   public function __construct() {
   }
 
   /**
-   * Import custom-data from an XML file
+   * Import custom-data from an XML file.
    *
    * @param string $file
    *   Path to an XML file.
+   *
    * @throws CRM_Core_Exception
-   * @return void;
    */
   public function run($file) {
     // read xml file
@@ -58,10 +57,9 @@ class CRM_Utils_Migrate_Import {
   }
 
   /**
-   * Import custom-data from an XML element
+   * Import custom-data from an XML element.
    *
    * @param SimpleXMLElement $xml
-   * @return void
    */
   public function runXmlElement($xml) {
     $idMap = array(
index fe87d410277988fbbf1419dbec7c5b963e8ede65..4149cd272a5980b48bc43acd419da507e448d2ca 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /**
- * Class CRM_Utils_OptionBag
+ * Class CRM_Utils_OptionBag.
  */
 class CRM_Utils_OptionBag implements ArrayAccess, IteratorAggregate, Countable {
   protected $data;
@@ -99,7 +99,6 @@ class CRM_Utils_OptionBag implements ArrayAccess, IteratorAggregate, Countable {
    *   <p>.
    * The value to set.
    * </p>
-   * @return void
    */
   public function offsetSet($offset, $value) {
     $this->data[$offset] = $value;
@@ -113,7 +112,6 @@ class CRM_Utils_OptionBag implements ArrayAccess, IteratorAggregate, Countable {
    *   <p>.
    * The offset to unset.
    * </p>
-   * @return void
    */
   public function offsetUnset($offset) {
     unset($this->data[$offset]);
index 6eb114209afb3cf59eaa5448f0c1d31d667390c2..9f8d87e8678739c71630cc414b7afc0c4aa7cbc4 100644 (file)
@@ -29,8 +29,6 @@
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 
 /**
@@ -40,7 +38,6 @@
  * use a POST to jump to a specific page). At some point we should evaluate if we want
  * to use Pager_Jumping instead. We've changed the format to allow navigation by jumping
  * to a page and also First, Prev CURRENT Next Last
- *
  */
 
 require_once 'Pager/Sliding.php';
@@ -131,11 +128,9 @@ class CRM_Utils_Pager extends Pager_Sliding {
    * values.
    *
    * @param array $params
-   *   The set of options needed to initialize the parent.
-   *                             constructor
+   *   The set of options needed to initialize the parent constructor.
    *
-   *
-   * @return void
+   * @return array
    */
   public function initialize(&$params) {
     /* set the mode for the pager to Sliding */
index 9958d5adbc91b4ea1d1dbd6a1bcda002bf7c1c2a..be85fe6bde40fcc163800755d69b65dac5201b65 100644 (file)
@@ -26,7 +26,7 @@
  */
 
 /**
- * Utilities for manipulating/inspecting CRM_*_PseudoConstant classes
+ * Utilities for manipulating/inspecting CRM_*_PseudoConstant classes.
  */
 class CRM_Utils_PseudoConstant {
   /**
@@ -49,10 +49,10 @@ class CRM_Utils_PseudoConstant {
    *
    * Wrapper for Pseudoconstant methods. We use this so the calling function
    * doesn't need to know which class the Pseudoconstant is on
-   * (some are on the Contribute_Pseudoconsant Class etc
+   * (some are on the Contribute_Pseudoconstant Class etc
    *
    *
-   * @param $constant
+   * @param string $constant
    *
    * @return array
    *   array reference of all relevant constant
@@ -155,10 +155,9 @@ class CRM_Utils_PseudoConstant {
   }
 
   /**
-   * Flush all caches related to pseudo-constants. This may be inefficient
-   * and should generally be avoided.
+   * Flush all caches related to pseudo-constants.
    *
-   * @return void
+   * This may be inefficient and should generally be avoided.
    */
   public static function flushAll() {
     foreach (self::findConstants() as $constant) {
index 61c3b5a163abc0dacadc4fdcf7dfad54c4dd5249..d73825dbc5cf08ae8ef0f02cee92c3ad032be523 100644 (file)
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 
 /**
- *
+ * Recent items utility class.
  */
 class CRM_Utils_Recent {
 
@@ -54,8 +52,6 @@ class CRM_Utils_Recent {
 
   /**
    * Initialize this class and set the static variables.
-   *
-   * @return void
    */
   public static function initialize() {
     if (!self::$_recent) {
@@ -91,8 +87,6 @@ class CRM_Utils_Recent {
    * @param int $contactId
    * @param string $contactName
    * @param array $others
-   *
-   * @return void
    */
   public static function add(
     $title,
@@ -148,8 +142,6 @@ class CRM_Utils_Recent {
    *
    * @param array $recentItem
    *   Array of the recent Item to be removed.
-   *
-   * @return void
    */
   public static function del($recentItem) {
     self::initialize();
@@ -176,8 +168,6 @@ class CRM_Utils_Recent {
    *
    * @param string $id
    *   Contact id that had to be removed.
-   *
-   * @return void
    */
   public static function delContact($id) {
     self::initialize();
index c4b969761dd74ba29724801401da87988ede2d24..cdf85618a0b5f8f98bf64ca141ece07560294f08 100644 (file)
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
- */
-
 /**
  * This class handles all SOAP client requests.
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 class CRM_Utils_SoapServer {
 
@@ -88,7 +78,6 @@ class CRM_Utils_SoapServer {
    *   The soap key generated by authenticate().
    *
    * @throws SoapFault
-   * @return void
    */
   public function verify($key) {
     $session = CRM_Core_Session::singleton();
index 5518f4d01bbdab60f864e359558494c19230622e..098ef0e4e625915735b31477ca0d5ffff7953663 100644 (file)
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 
 /**
  *
- * Base class to provide generic sort functionality. Note that some ideas
- * have been borrowed from the drupal tablesort.inc code. Also note that
- * since the Pager and Sort class are similar, do match the function names
+ * Base class to provide generic sort functionality.
+ *
+ * Note that some ideas have been borrowed from the drupal tablesort.inc code.
+ *
+ * Also note that since the Pager and Sort class are similar, do match the function names
  * if introducing additional functionality
  *
  * @package CRM
@@ -188,8 +188,6 @@ class CRM_Utils_Sort {
    *
    * @param string $defaultSortOrder
    *   The sort order to use by default.
-   *
-   * @return void
    */
   public function initSortID($defaultSortOrder) {
     $url = CRM_Utils_Array::value(self::SORT_ID, $_GET, $defaultSortOrder);
@@ -225,8 +223,6 @@ class CRM_Utils_Sort {
    *
    * @param string $defaultSortOrder
    *   The sort order to use by default.
-   *
-   * @return void
    */
   public function initialize($defaultSortOrder) {
     $this->initSortID($defaultSortOrder);
index aa4ca4c567a958c8784f8d8604e2f01b95622544..a285329d971032c8c304a57dcdd948f4e9ebee89 100644 (file)
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 
 /**
  * System wide utilities.
- *
  */
 class CRM_Utils_System {
 
@@ -1307,7 +1304,7 @@ class CRM_Utils_System {
    * @param array $params
    *   An array of parameters (see CRM_Utils_System::docURL2 method for names)
    *
-   * @return void|string
+   * @return null|string
    *   URL or link to documentation page, based on provided parameters.
    */
   public static function docURL($params) {
index 75ed56e6941746e51592c1cc0691326ad4f7675c..e0543b19597d531849c0b213b112a8a68f79c432 100644 (file)
@@ -29,8 +29,6 @@
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 
 /**
@@ -113,8 +111,6 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase {
    *   Array of errors.
    * @param string $emailName
    *   Field label for the 'email'.
-   *
-   * @return void
    */
   public static function checkUserNameEmailExists(&$params, &$errors, $emailName = 'email') {
     $config = CRM_Core_Config::singleton();
@@ -699,8 +695,6 @@ AND    u.status = 1
    * @param string $oldPerm
    * @param array $newPerms
    *   Array, strings.
-   *
-   * @return void
    */
   public function replacePermission($oldPerm, $newPerms) {
     $roles = user_roles(FALSE, $oldPerm);
index 7417c61a6b5fe6ee0195c0baefa476f77225252b..935f0471e47340cff61f5912970dc45ccf91b90e 100644 (file)
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 
 /**
- * Drupal specific stuff goes here
+ * Drupal specific stuff goes here.
  */
 class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
 
   /**
-   * If we are using a theming system, invoke theme, else just print the
-   * content
+   * Theme output.
+   *
+   * If we are using a theming system, invoke theme, else just print the content.
    *
    * @param string $content
    *   The content that will be themed.
@@ -49,7 +48,7 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
    * @param bool $maintenance
    *   For maintenance mode.
    *
-   * @return void
+   * @return null|string
    *   prints content on stdout
    */
   public function theme(&$content, $print = FALSE, $maintenance = FALSE) {
@@ -73,9 +72,12 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
     }
 
     print $out;
+    return NULL;
   }
 
   /**
+   * Create user.
+   *
    * @inheritDoc
    */
   public function createUser(&$params, $mail) {
@@ -137,8 +139,6 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
    *   Array of errors.
    * @param string $emailName
    *   Field label for the 'email'.
-   *
-   * @return void
    */
   public function checkUserNameEmailExists(&$params, &$errors, $emailName = 'email') {
     $config = CRM_Core_Config::singleton();
@@ -253,8 +253,6 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
    *
    * @param string $head
    *   The new string to be appended.
-   *
-   * @return void
    */
   public function addHTMLHead($head) {
     drupal_set_html_head($head);
@@ -652,8 +650,6 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
    * @param string $oldPerm
    * @param array $newPerms
    *   Array, strings.
-   *
-   * @return void
    */
   public function replacePermission($oldPerm, $newPerms) {
     $roles = user_roles(FALSE, $oldPerm);
index 4b780d84bc0612ba3f9548963aa1943dbb0b3f15..0b7e13a351a3904a94742560fbc34edbeacc6b38 100644 (file)
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 
 /**
- * Joomla specific stuff goes here
+ * Joomla specific stuff goes here.
  */
 class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
   /**
+   * Class constructor.
    */
   public function __construct() {
     /**
@@ -117,8 +116,6 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
    *   Array of errors.
    * @param string $emailName
    *   Field label for the 'email'.
-   *
-   * @return void
    */
   public function checkUserNameEmailExists(&$params, &$errors, $emailName = 'email') {
     $config = CRM_Core_Config::singleton();
@@ -318,8 +315,6 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
    *
    * @param object $user
    *   Handle to the user object.
-   *
-   * @return void
    */
   public function setEmail(&$user) {
     global $database;
index 8f00c2cd32e679c0f898759c68f7d92722eb69f2..d3b43a1e9a599899ed6babadf2606215373f65bf 100644 (file)
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 
 /**
- * Soap specific stuff goes here
+ * Soap specific stuff goes here.
  */
 class CRM_Utils_System_Soap extends CRM_Utils_System_Base {
 
@@ -84,8 +82,6 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base {
    *
    * @param object $user
    *   Handle to the user object.
-   *
-   * @return void
    */
   public function setEmail(&$user) {
   }
index 13b4b1b29c0cdd40a53ac04c3bdc66eb5d735596..192fc5b97bcb4fdb999631dd5b15b61e12fa7cf8 100644 (file)
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id: $
- *
  */
 
 /**
- * Class to abstract token replacement
+ * Class to abstract token replacement.
  */
 class CRM_Utils_Token {
   static $_requiredTokens = NULL;
@@ -866,8 +864,6 @@ class CRM_Utils_Token {
    *  this routine will remove the extra backslashes and braces
    *
    * @param $str ref to the string that will be scanned and modified
-   * @return void
-   *   this function works directly on the string that is passed
    */
   public static function unescapeTokens(&$str) {
     $str = preg_replace('/\\\\|\{(\{\w+\.\w+\})\}/', '\\1', $str);
index 78a84b6cb33990da458e79b4785c8fa03dd53cbf..cc526ae474738dc2722225b9d58425734797539b 100644 (file)
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 
 /**
- * Manage simple Tree data structure
- * example of Tree is
+ * Manage simple Tree data structure.
+ *
+ * Example of Tree is
  *
  *                             'a'
  *                              |
@@ -142,6 +141,7 @@ class CRM_Utils_Tree {
 
   /**
    * Check if node is a leaf node.
+   *
    * Currently leaf nodes are strings and non-leaf nodes are arrays
    *
    * @param array $node node which needs to checked
@@ -174,8 +174,6 @@ class CRM_Utils_Tree {
    * @param string $parentName
    *   Name of the parent ?.
    * @param array (ref) $node - node to be added
-   *
-   * @return void
    */
   public function addNode($parentName, &$node) {
     $temp = '';
@@ -190,8 +188,6 @@ class CRM_Utils_Tree {
    * @param string $parentName Name of the parent ?.
    * @param string $childName - key to be used (optional)
    * @param mixed $data - data to be added
-   *
-   * @return void
    */
   public function addData($parentName, $childName, $data) {
     $temp = '';
@@ -216,8 +212,6 @@ class CRM_Utils_Tree {
 
   /**
    * Print the tree.
-   *
-   * @return void
    */
   public function display() {
     print_r($this->tree);
index 31aed2c902ca2703282ff3f878213ef717d82dfd..5211aa68f74fd14a1eb690dbb16354b723ca1c43 100644 (file)
@@ -34,8 +34,6 @@
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id: $
- *
  */
 class CRM_Utils_Wrapper {
 
@@ -59,7 +57,7 @@ class CRM_Utils_Wrapper {
    *  - bool addSequence: should we add a unique sequence number to the end of the key
    *  - bool ignoreKey: should we not set a qfKey for this controller (for standalone forms)
    *
-   * @return void
+   * @return mixed
    */
   public function run($formName, $formLabel = NULL, $arguments = NULL) {
     if (is_array($arguments)) {
index 6690495f4b46c19f4abfc64cf8fe8b893c3226fc..5ecf0fa9bc1c0cfcdc315abfd749fc27eac708dc 100644 (file)
@@ -216,8 +216,6 @@ class Analyzer {
 
   /**
    * Flush any cached information.
-   *
-   * @return void
    */
   public function flush() {
     $this->case = NULL;
index 428fc305c56d872c0e5cb013f47b37c0052db841..8691a69a183a7ad9448d33a4878dbe5c6b119769 100644 (file)
@@ -30,15 +30,16 @@ namespace Civi\Core\Lock;
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 class NullLock implements LockInterface {
 
   private $hasLock = FALSE;
 
   /**
+   * Create lock.
+   *
    * @param string $name
+   *
    * @return static
    */
   public static function create($name) {
@@ -46,9 +47,12 @@ class NullLock implements LockInterface {
   }
 
   /**
+   * Acquire lock.
+   *
    * @param int|NULL $timeout
    *   The number of seconds to wait to get the lock.
    *   For a default value, use NULL.
+   *
    * @return bool
    */
   public function acquire($timeout = NULL) {
@@ -57,6 +61,8 @@ class NullLock implements LockInterface {
   }
 
   /**
+   * Release lock.
+   *
    * @return bool|null|string
    *   Trueish/falsish.
    */
index bf8096f964cafe5d9ab0bfe2480fe47d7bc8039d..5d007253d6047b318ee95da58a722ad0880d3a2e 100644 (file)
@@ -29,8 +29,6 @@
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 class CiviContributeProcessor {
   static $_paypalParamsMapper = array(
index ef1b5aa867bc4e81f46f284de5a3556fb06e36e1..acbc7457d976d532ddf7fd20dc8a320234fa4ec2 100644 (file)
@@ -29,8 +29,6 @@
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 
 define('CRM_ENCRYPT', 1);
index 11197298c9e300900dbcac0ad1446c5cb8607ffc..84470d5c34e338c1f8584a29550dbaae98c1d1ed 100644 (file)
@@ -29,8 +29,6 @@
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 function run() {
   session_start();
index 7eadd53e7427eb05378e86345fcfd6639036f14c..d8dd24376ae1343bee1ab98223d5672c5349a900 100644 (file)
@@ -29,8 +29,6 @@
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 function run() {
   session_start();
index ed01236d90dcfadef0da42d849bf29fb5906f118..4505eadb79bb4793047181add8ee2741b4646809 100644 (file)
@@ -29,8 +29,6 @@
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 function run() {
   session_start();
index e882ec4f060c3ba54eac6fc9746953b0becd512b..75bfe307f63e39d76798a3e158479c17972d0076 100644 (file)
@@ -29,8 +29,6 @@
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 function run() {
   session_start();
index c09297b21d313f18cd919e6697d23f3bafcf4b1b..6a94275f05c0d3f063367838a57821ac980ada1d 100644 (file)
@@ -29,8 +29,6 @@
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 function run() {
   session_start();