File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ class JsonDecode implements DecoderInterface
44
44
public function __construct ($ associative = false , $ depth = 512 )
45
45
{
46
46
$ this ->associative = $ associative ;
47
- $ this ->recursionDepth = (int )$ depth ;
47
+ $ this ->recursionDepth = (int ) $ depth ;
48
48
}
49
49
50
50
/**
Original file line number Diff line number Diff line change @@ -165,8 +165,8 @@ protected function formatAttribute($attributeName)
165
165
{
166
166
if (in_array ($ attributeName , $ this ->camelizedAttributes )) {
167
167
return preg_replace_callback (
168
- '/(^|_|\.)+(.)/ ' , function ($ match ) {
169
- return ('. ' === $ match [1 ] ? '_ ' : '' ).strtoupper ($ match [2 ]);
168
+ '/(^|_|\.)+(.)/ ' , function ($ match ) {
169
+ return ('. ' === $ match [1 ] ? '_ ' : '' ).strtoupper ($ match [2 ]);
170
170
}, $ attributeName
171
171
);
172
172
}
You can’t perform that action at this time.
0 commit comments