File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -150,14 +150,16 @@ public function refine ($moniker, $query = '')
150150 * @param array $options
151151 * @return \stdClass|\SoapFault response from QAS server
152152 */
153- public function getAddressDetails ($ moniker , $ options = array ())
153+ public function getAddress ($ moniker , $ options = array ())
154154 {
155155 $ params = ['Moniker ' => $ moniker ];
156- $ options = array_merge ($ options , $ params );
156+ if (is_array ($ options )) {
157+ $ params = array_merge ($ options , $ params );
158+ }
157159
158160 $ results = $ this ->call ([
159161 'action ' =>'DoGetAddress ' ,
160- 'params ' =>$ options
162+ 'params ' =>$ params
161163 ]);
162164
163165 return $ results ;
@@ -195,4 +197,4 @@ public function getJson()
195197
196198 return json_encode ($ this ->response );
197199 }
198- }
200+ }
You can’t perform that action at this time.
0 commit comments