@@ -45,11 +45,11 @@ discard block |
||
| 45 | 45 | { |
| 46 | 46 | $this->validatePhonenumbers($toPhonenumer, $fromPhonenumer); |
| 47 | 47 | |
| 48 | - $response = $this->client->request( |
|
| 48 | + $response = $this->client->request( |
|
| 49 | 49 | 'POST', |
| 50 | 50 | self::API_URL, |
| 51 | 51 | [ |
| 52 | - RequestOptions::AUTH => [$this->login, $this->password], |
|
| 52 | + RequestOptions::AUTH => [ $this->login, $this->password ], |
|
| 53 | 53 | RequestOptions::JSON => [ |
| 54 | 54 | VoysOptions::B_NUMBER => $toPhonenumer, |
| 55 | 55 | VoysOptions::A_NUMBER => $fromPhonenumer, |
@@ -70,11 +70,11 @@ discard block |
||
| 70 | 70 | { |
| 71 | 71 | $this->validateCallId($callid); |
| 72 | 72 | |
| 73 | - $response = $this->client->request( |
|
| 73 | + $response = $this->client->request( |
|
| 74 | 74 | 'GET', |
| 75 | 75 | sprintf('%s%s/', self::API_URL, $callid), |
| 76 | 76 | [ |
| 77 | - RequestOptions::AUTH => [$this->login, $this->password], |
|
| 77 | + RequestOptions::AUTH => [ $this->login, $this->password ], |
|
| 78 | 78 | ] |
| 79 | 79 | ); |
| 80 | 80 | $voysResponse = new VoysResponse($response); |