Skip to content

Commit a0fb124

Browse files
https://github.com/mage2pro/core/issues/168
1 parent 2de9e78 commit a0fb124

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

P/Charge.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ protected function p():array {return [
5757
# It can be useful for storing additional information about the customer
5858
# in a structured format.
5959
# It's often a good idea to store an email address in metadata for tracking later.»
60-
//
60+
#
6161
# https://stripe.com/docs/api/php#metadata
6262
# «You can have up to 20 keys, with key names up to 40 characters long
6363
# and values up to 500 characters long.»
64-
//
64+
#
6565
# 2016-03-08
6666
# https://stripe.com/blog/adding-context-with-metadata
6767
# «Adding context with metadata»

P/Reg.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,5 @@ protected function p():array {return [
116116
* @used-by \Df\StripeClone\P\Reg::request()
117117
* @return array(array(string => mixed))
118118
*/
119-
protected function v_CardId(string $id) {return fToken::trimmed($id);}
119+
protected function v_CardId(string $id):array {return fToken::trimmed($id);}
120120
}

0 commit comments

Comments
 (0)