File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
55and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
7+ ## [ 4.0.3] - 2020-11-30
8+ ### Fixed
9+ - To strict param type in ` transform ` method
10+
711## [ 4.0.2] - 2020-10-15
812### Fixed
913- Another issue where CallbackBinding wasn't handled.
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ public function shouldAutoCase(): bool
137137 *
138138 * @throws JsonValueException if the json data is not valid
139139 */
140- protected function transform (Transformer $ transformer , array $ jsonArrayData , $ instance )
140+ protected function transform (Transformer $ transformer , ? array $ jsonArrayData , $ instance )
141141 {
142142 if (empty ($ jsonArrayData )) {
143143 return null ;
You can’t perform that action at this time.
0 commit comments