Code style

This commit is contained in:
Jens Schuppe 2024-06-12 15:18:35 +02:00
parent cd008d9545
commit 0cf7ccb1cb
3 changed files with 10 additions and 10 deletions

View file

@ -607,7 +607,8 @@ class CRM_Twingle_Form_Profile extends CRM_Core_Form {
if (!isset($profile_data[$key]) && $required) {
CRM_Core_Session::setStatus(
E::ts(
'The required configuration option "%1" has no value. Saving the profile might set this option to a possibly unwanted default value.',
'The required configuration option "%1" has no value.'
. ' Saving the profile might set this option to a possibly unwanted default value.',
[1 => $metadata['label'] ?? $key]
),
E::ts('Error'),

View file

@ -116,7 +116,10 @@ class CRM_Twingle_Tools {
* Recurring contribution fields.
* @throws Exception could be one of the measures
*/
public static function processRecurringContributionTermination(int $recurring_contribution_id, array $recurring_contribution) {
public static function processRecurringContributionTermination(
int $recurring_contribution_id,
array $recurring_contribution
) {
// check if we're suspended
if (self::$protection_suspended) {
return;