Commit d631cdc8 authored by yashodha's avatar yashodha

some indentation fixes

parent fa938177
...@@ -597,7 +597,7 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping { ...@@ -597,7 +597,7 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
$relationshipType->id = $id; $relationshipType->id = $id;
if ($relationshipType->find(TRUE)) { if ($relationshipType->find(TRUE)) {
$direction = "contact_sub_type_$second"; $direction = "contact_sub_type_$second";
$target_type = 'contact_type_' . $second; $target_type = 'contact_type_' . $second;
if (isset($relationshipType->$direction)) { if (isset($relationshipType->$direction)) {
$relatedFields = array_merge((array) $relatedMapperFields[$relationshipType->$direction], (array) $relationshipCustomFields); $relatedFields = array_merge((array) $relatedMapperFields[$relationshipType->$direction], (array) $relationshipCustomFields);
} }
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
| GNU Affero General Public License or the licensing of CiviCRM, | | GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing | | see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+ +--------------------------------------------------------------------+
*/ */
/** /**
* Manage translatable strings on behalf of resource files. * Manage translatable strings on behalf of resource files.
...@@ -107,4 +107,5 @@ class CRM_Core_Resources_Strings { ...@@ -107,4 +107,5 @@ class CRM_Core_Resources_Strings {
throw new Exception("Cannot extract strings: Unrecognized file type."); throw new Exception("Cannot extract strings: Unrecognized file type.");
} }
} }
} }
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
| GNU Affero General Public License or the licensing of CiviCRM, | | GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing | | see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+ +--------------------------------------------------------------------+
*/ */
/** /**
* *
......
...@@ -68,9 +68,7 @@ class CRM_Pledge_Form_Task_Print extends CRM_Pledge_Form_Task { ...@@ -68,9 +68,7 @@ class CRM_Pledge_Form_Task_Print extends CRM_Pledge_Form_Task {
* - displaying elements for saving the search. * - displaying elements for saving the search.
*/ */
public function buildQuickForm() { public function buildQuickForm() {
// just need to add a javacript to popup the window for printing // just need to add a javacript to popup the window for printing
$this->addButtons(array( $this->addButtons(array(
array( array(
'type' => 'next', 'type' => 'next',
......
...@@ -56,4 +56,5 @@ abstract class CRM_Utils_Check_Component { ...@@ -56,4 +56,5 @@ abstract class CRM_Utils_Check_Component {
} }
return $messages; return $messages;
} }
} }
\ No newline at end of file
...@@ -43,8 +43,7 @@ class CRM_Utils_Check_Component_Case extends CRM_Utils_Check_Component { ...@@ -43,8 +43,7 @@ class CRM_Utils_Check_Component_Case extends CRM_Utils_Check_Component {
protected $caseTypeNames; protected $caseTypeNames;
/** /**
* @param CRM_Case_XMLRepository $xmlRepo * Class constructor.
* @param array <string> $caseTypeNames
*/ */
public function __construct() { public function __construct() {
$this->caseTypeNames = CRM_Case_PseudoConstant::caseType('name'); $this->caseTypeNames = CRM_Case_PseudoConstant::caseType('name');
......
...@@ -45,7 +45,7 @@ class CRM_Utils_PseudoConstant { ...@@ -45,7 +45,7 @@ class CRM_Utils_PseudoConstant {
); );
/** /**
* @var array * @var array
* ($name => $className) * ($name => $className)
*/ */
private static $constants = NULL; private static $constants = NULL;
......
...@@ -33,5 +33,3 @@ ...@@ -33,5 +33,3 @@
* $Id$ * $Id$
* *
*/ */
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
| GNU Affero General Public License or the licensing of CiviCRM, | | GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing | | see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+ +--------------------------------------------------------------------+
*/ */
/** /**
* *
...@@ -66,5 +66,6 @@ for ($i = 1; $i <= $numGroups; $i++) { ...@@ -66,5 +66,6 @@ for ($i = 1; $i <= $numGroups; $i++) {
$group->group_type = $groupType[$t]; $group->group_type = $groupType[$t];
$group->save(); $group->save();
} }
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
| GNU Affero General Public License or the licensing of CiviCRM, | | GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing | | see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+ +--------------------------------------------------------------------+
*/ */
/** /**
* *
...@@ -99,5 +99,6 @@ function generateRandomDate() { ...@@ -99,5 +99,6 @@ function generateRandomDate() {
$date = sprintf("%4d%02d%02d", $year, $month, $day) . '000000'; $date = sprintf("%4d%02d%02d", $year, $month, $day) . '000000';
return $date; return $date;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment