* @return bool|array
* true if no errors, else array of errors
*/
- public static function formRule($fields, /** @noinspection PhpUnusedParameterInspection */
- $files, $self) {
+ public static function formRule($fields,
+ /** @noinspection PhpUnusedParameterInspection */
+ $files, $self) {
$errors = array();
// Check for Credit Card Contribution.
*
* @param array $submittedValues
* @param array $lineItem
- */
+ *
+ * @return bool|\CRM_Contribute_DAO_Contribution
+ */
protected function processCreditCard($submittedValues, $lineItem) {
$sendReceipt = $contribution = FALSE;