File tree Expand file tree Collapse file tree 2 files changed +3
-100
lines changed
lib/internal/Magento/Framework/ObjectManager Expand file tree Collapse file tree 2 files changed +3
-100
lines changed Original file line number Diff line number Diff line change @@ -129,15 +129,9 @@ public function getPreference($type)
129
129
*/
130
130
public function extend (array $ configuration )
131
131
{
132
- $ this ->arguments = isset ($ configuration ['arguments ' ])
133
- ? array_replace ($ this ->arguments , $ configuration ['arguments ' ])
134
- : $ this ->arguments ;
135
- $ this ->virtualTypes = isset ($ configuration ['instanceTypes ' ])
136
- ? array_replace ($ this ->virtualTypes , $ configuration ['instanceTypes ' ])
137
- : $ this ->virtualTypes ;
138
- $ this ->preferences = isset ($ configuration ['preferences ' ])
139
- ? array_replace ($ this ->preferences , $ configuration ['preferences ' ])
140
- : $ this ->preferences ;
132
+ $ this ->arguments = $ configuration ['arguments ' ];
133
+ $ this ->virtualTypes = $ configuration ['instanceTypes ' ];
134
+ $ this ->preferences = $ configuration ['preferences ' ];
141
135
}
142
136
143
137
/**
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments