Skip to content

Commit

Permalink
Merge pull request #676 from yoavf/patch-1
Browse files Browse the repository at this point in the history
Prevent variable from being parsed
  • Loading branch information
ob-stripe authored Jun 26, 2019
2 parents 51b7153 + 1d63910 commit 8f8f5a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CustomerBalanceTransaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public static function retrieve($_id, $_opts = null)
public static function update($_id, $_params = null, $_options = null)
{
$msg = "Customer Balance Transactions cannot be accessed without a customer ID. " .
"Update a balance transaction using Customer::updateBalanceTransaction('cus_123', 'cbtxn_123', $params) instead.";
"Update a balance transaction using Customer::updateBalanceTransaction('cus_123', 'cbtxn_123', \$params) instead.";
throw new Error\InvalidRequest($msg, null);
}
}

0 comments on commit 8f8f5a6

Please sign in to comment.