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
4444 public function __construct ($ associative = false , $ depth = 512 )
4545 {
4646 $ this ->associative = $ associative ;
47- $ this ->recursionDepth = (int )$ depth ;
47+ $ this ->recursionDepth = (int ) $ depth ;
4848 }
4949
5050 /**
Original file line number Diff line number Diff line change @@ -165,8 +165,8 @@ protected function formatAttribute($attributeName)
165165 {
166166 if (in_array ($ attributeName , $ this ->camelizedAttributes )) {
167167 return preg_replace_callback (
168- '/(^|_|\.)+(.)/ ' , function ($ match ) {
169- return ('. ' === $ match [1 ] ? '_ ' : '' ).strtoupper ($ match [2 ]);
168+ '/(^|_|\.)+(.)/ ' , function ($ match ) {
169+ return ('. ' === $ match [1 ] ? '_ ' : '' ).strtoupper ($ match [2 ]);
170170 }, $ attributeName
171171 );
172172 }
You can’t perform that action at this time.
0 commit comments