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