projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #22551 from eileenmcnaughton/phpcs
[civicrm-core.git]
/
CRM
/
Core
/
Payment.php
diff --git
a/CRM/Core/Payment.php
b/CRM/Core/Payment.php
index 6b599e0bf30563cdbc4ff2e789be9a8ac06dc201..26a62af3a98ed9b43341a7cbc21fa4b41798ba55 100644
(file)
--- a/
CRM/Core/Payment.php
+++ b/
CRM/Core/Payment.php
@@
-1674,8
+1674,7
@@
abstract class CRM_Core_Payment {
* it is better to standardise to being here.
*
* @param int $invoiceId The ID to check.
* it is better to standardise to being here.
*
* @param int $invoiceId The ID to check.
- *
- * @param null $contributionID
+ * @param int|null $contributionID
* If a contribution exists pass in the contribution ID.
*
* @return bool
* If a contribution exists pass in the contribution ID.
*
* @return bool
@@
-1693,8
+1692,8
@@
abstract class CRM_Core_Payment {
/**
* Get url for users to manage this recurring contribution for this processor.
*
/**
* Get url for users to manage this recurring contribution for this processor.
*
- * @param int $entityID
- * @param null $entity
+ * @param int
|null
$entityID
+ * @param
string|
null $entity
* @param string $action
*
* @return string|null
* @param string $action
*
* @return string|null
@@
-1724,6
+1723,10
@@
abstract class CRM_Core_Payment {
}
$url = 'civicrm/contribute/updaterecur';
break;
}
$url = 'civicrm/contribute/updaterecur';
break;
+
+ default:
+ $url = '';
+ break;
}
$userId = CRM_Core_Session::singleton()->get('userID');
}
$userId = CRM_Core_Session::singleton()->get('userID');