File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -210,10 +210,6 @@ public function getSerializableData()
210210 // case 2: Attribute type is an object (specified in attributes() by an array which specifies two items (key and value type)
211211 $ toObject = true ;
212212 }
213- if ($ k === 'parameters ' ) {
214- ksort ($ data [$ k ]);
215- $ toObject = false ;
216- }
217213 if ($ toObject ) {
218214 $ data [$ k ] = (object ) $ data [$ k ];
219215 }
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ public function resolveReferences(ReferenceContext $context = null)
180180 foreach ($ this ->$ attribute as $ k => $ item ) {
181181 if ($ item instanceof Reference) {
182182 $ referencedObject = $ item ->resolve ();
183- $ this ->$ attribute = [$ k => $ referencedObject ] + $ this -> $ attribute ;
183+ $ this ->$ attribute = $ this -> $ attribute + [$ k => $ referencedObject ];
184184 if (!$ referencedObject instanceof Reference && $ referencedObject !== null ) {
185185 $ referencedObject ->resolveReferences ();
186186 }
You can’t perform that action at this time.
0 commit comments