File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " buckaroo/sdk" ,
3
3
"description" : " Buckaroo payment SDK" ,
4
4
"license" : " MIT" ,
5
- "version" : " 1.16 .0" ,
5
+ "version" : " 1.17 .0" ,
6
6
"type" : " library" ,
7
7
"require" : {
8
8
"php" : " ^8.1" ,
Original file line number Diff line number Diff line change @@ -50,7 +50,11 @@ public function base64Data($data = null)
50
50
{
51
51
if (is_array ($ data ))
52
52
{
53
- $ data = json_encode ($ data , JSON_UNESCAPED_UNICODE | JSON_PRESERVE_ZERO_FRACTION );
53
+ $ data = mb_convert_encoding (
54
+ json_encode ($ data , JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE ),
55
+ 'UTF-8 ' ,
56
+ 'auto '
57
+ );
54
58
}
55
59
56
60
$ md5 = md5 ($ data , true );
Original file line number Diff line number Diff line change @@ -25,5 +25,5 @@ class Company extends Person
25
25
protected string $ companyName ;
26
26
protected bool $ vatApplicable ;
27
27
protected string $ vatNumber ;
28
- protected string $ chamberOfCommerce ;
28
+ protected ? string $ chamberOfCommerce ;
29
29
}
You can’t perform that action at this time.
0 commit comments