File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -138,12 +138,8 @@ public function request($options)
138138 $ requestMethod = isset ($ options ['method ' ]) ? $ options ['method ' ] : 'GET ' ;
139139 $ requestURI = isset ($ options ['uri ' ]) ? $ options ['uri ' ] : '' ;
140140
141- try {
142- $ response = $ this ->requestClient ->request ($ requestMethod , $ requestURI , $ options );
143- $ responseContent = (array )json_decode ($ response ->getBody ()->getContents ());
144- } catch (\GuzzleHttp \Exception \RequestException $ e ) {
145- echo $ e ;
146- }
141+ $ response = $ this ->requestClient ->request ($ requestMethod , $ requestURI , $ options );
142+ $ responseContent = (array )json_decode ($ response ->getBody ()->getContents ());
147143
148144 return isset ($ responseContent ) ? (array )$ responseContent ['data ' ] : NULL ;
149145 }
You can’t perform that action at this time.
0 commit comments