Various code cleanup.

This commit is contained in:
James Cole
2017-12-22 18:32:43 +01:00
parent f13a93348f
commit 8bd76d1ff0
188 changed files with 383 additions and 396 deletions

View File

@@ -46,7 +46,7 @@ abstract class BunqRequest
* @var array
*/
private $upperCaseHeaders
= [
= [
'x-bunq-client-response-id' => 'X-Bunq-Client-Response-Id',
'x-bunq-client-request-id' => 'X-Bunq-Client-Request-Id',
];
@@ -330,6 +330,7 @@ abstract class BunqRequest
* @param array $headers
*
* @return array
*
* @throws Exception
*/
protected function sendUnsignedBunqDelete(string $uri, array $headers): array
@@ -360,6 +361,7 @@ abstract class BunqRequest
* @param array $headers
*
* @return array
*
* @throws Exception
*/
protected function sendUnsignedBunqPost(string $uri, array $data, array $headers): array

View File

@@ -34,7 +34,6 @@ class DeleteDeviceSessionRequest extends BunqRequest
private $sessionToken;
/**
*
* @throws \Exception
*/
public function call(): void

View File

@@ -40,7 +40,6 @@ class DeviceServerRequest extends BunqRequest
private $permittedIps = [];
/**
*
* @throws \Exception
*/
public function call(): void

View File

@@ -46,7 +46,6 @@ class DeviceSessionRequest extends BunqRequest
private $userPerson;
/**
*
* @throws \Exception
*/
public function call(): void

View File

@@ -40,7 +40,6 @@ class InstallationTokenRequest extends BunqRequest
private $publicKey = '';
/**
*
* @throws \Exception
*/
public function call(): void

View File

@@ -43,7 +43,6 @@ class ListDeviceServerRequest extends BunqRequest
}
/**
*
* @throws \Exception
*/
public function call(): void

View File

@@ -39,7 +39,6 @@ class ListMonetaryAccountRequest extends BunqRequest
private $userId = 0;
/**
*
* @throws \Exception
*/
public function call(): void

View File

@@ -42,7 +42,6 @@ class ListUserRequest extends BunqRequest
private $userPerson;
/**
*
* @throws \Exception
*/
public function call(): void