Completed
Pull Request — master (#17)
by Jan
02:38
created
tests/unit/Api/ApiClientTest.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -414,7 +414,8 @@
 block discarded – undo
414 414
 
415 415
 		// @codingStandardsIgnoreStart
416 416
 		$extensions = [
417
-			'foo' => new class implements \SlevomatCsobGateway\Call\ResponseExtensionHandler {
417
+			'foo' => new class implements \SlevomatCsobGateway\Call\ResponseExtensionHandler
418
+			{
418 419
 
419 420
 				public function createResponse(array $decodeData): \stdClass
420 421
 				{
Please login to merge, or discard this patch.
src/Api/Response.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,8 +34,7 @@
 block discarded – undo
34 34
 		array $data = null,
35 35
 		array $headers = [],
36 36
 		array $extensions = []
37
-	)
38
-	{
37
+	) {
39 38
 		$this->responseCode = $responseCode;
40 39
 		$this->data = $data;
41 40
 		$this->headers = $headers;
Please login to merge, or discard this patch.
src/Api/ApiClient.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,7 @@
 block discarded – undo
33 33
 		ApiClientDriver $driver,
34 34
 		CryptoService $cryptoService,
35 35
 		string $apiUrl = null
36
-	)
37
-	{
36
+	) {
38 37
 		$this->driver = $driver;
39 38
 		$this->cryptoService = $cryptoService;
40 39
 		$this->apiUrl = $apiUrl;
Please login to merge, or discard this patch.
src/Call/ClosePaymentRequest.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,7 @@
 block discarded – undo
23 23
 	public function __construct(
24 24
 		string $merchantId,
25 25
 		string $payId
26
-	)
27
-	{
26
+	) {
28 27
 		Validator::checkPayId($payId);
29 28
 
30 29
 		$this->merchantId = $merchantId;
Please login to merge, or discard this patch.
src/Call/RefundPaymentRequest.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,7 @@
 block discarded – undo
29 29
 		string $merchantId,
30 30
 		string $payId,
31 31
 		int $amount = null
32
-	)
33
-	{
32
+	) {
34 33
 		Validator::checkPayId($payId);
35 34
 
36 35
 		$this->merchantId = $merchantId;
Please login to merge, or discard this patch.
src/Call/InitPaymentRequest.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,8 +87,7 @@
 block discarded – undo
87 87
 		string $merchantData = null,
88 88
 		string $customerId = null,
89 89
 		Language $language = null
90
-	)
91
-	{
90
+	) {
92 91
 		Validator::checkOrderId($orderId);
93 92
 		Validator::checkReturnUrl($returnUrl);
94 93
 		Validator::checkDescription($description);
Please login to merge, or discard this patch.
src/Call/ProcessPaymentRequest.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,7 @@
 block discarded – undo
25 25
 	public function __construct(
26 26
 		string $merchantId,
27 27
 		string $payId
28
-	)
29
-	{
28
+	) {
30 29
 		Validator::checkPayId($payId);
31 30
 
32 31
 		$this->merchantId = $merchantId;
Please login to merge, or discard this patch.
src/Call/EchoResponse.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,7 @@
 block discarded – undo
26 26
 		DateTimeImmutable $responseDateTime,
27 27
 		ResultCode $resultCode,
28 28
 		string $resultMessage
29
-	)
30
-	{
29
+	) {
31 30
 		$this->responseDateTime = $responseDateTime;
32 31
 		$this->resultCode = $resultCode;
33 32
 		$this->resultMessage = $resultMessage;
Please login to merge, or discard this patch.
src/Call/CustomerInfoResponse.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,7 @@
 block discarded – undo
33 33
 		ResultCode $resultCode,
34 34
 		string $resultMessage,
35 35
 		string $customerId = null
36
-	)
37
-	{
36
+	) {
38 37
 		Validator::checkCustomerId($customerId);
39 38
 
40 39
 		$this->responseDateTime = $responseDateTime;
Please login to merge, or discard this patch.