@@ -28,7 +28,7 @@ |
||
| 28 | 28 | |
| 29 | 29 | echo $contents; |
| 30 | 30 | |
| 31 | -}else{ |
|
| 31 | +} else{ |
|
| 32 | 32 | //js使用しない場合 |
| 33 | 33 | |
| 34 | 34 | // クレデンシャルインスタンス生成 |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | |
| 35 | 35 | var_dump($response); |
| 36 | 36 | |
| 37 | -}catch (Exception $e){ |
|
| 37 | +} catch (Exception $e){ |
|
| 38 | 38 | echo $e->getFile()."\n"; |
| 39 | 39 | echo $e->getLine()."\n"; |
| 40 | 40 | echo $e->getCode().':'.$e->getMessage()."\n"; |
@@ -94,8 +94,7 @@ |
||
| 94 | 94 | if ($this->api->httpMethod()->equals(HttpMethod::GET())) { |
| 95 | 95 | $options = $this->setRequestParamsForGetRequest($options, |
| 96 | 96 | $request); |
| 97 | - } |
|
| 98 | - elseif ($this->api->httpMethod()->equals(HttpMethod::POST())) { |
|
| 97 | + } elseif ($this->api->httpMethod()->equals(HttpMethod::POST())) { |
|
| 99 | 98 | $options = $this->setRequestParamsForPostRequest($options, |
| 100 | 99 | $request); |
| 101 | 100 | } |