Skip to content

Commit 2c88b82

Browse files
author
Alexander (SASh) Alexiev
committed
red: formatting
1 parent 2e1355e commit 2c88b82

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

src/Message/SetupIntents/AbstractRequest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,4 @@ public function getSetupIntentReference()
3535
{
3636
return $this->getParameter('setupIntentReference');
3737
}
38-
3938
}

src/Message/SetupIntents/CreateSetupIntentRequest.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
/**
44
* Stripe Create Payment Method Request.
55
*/
6+
67
namespace Omnipay\Stripe\Message\SetupIntents;
78

89
/**
@@ -31,14 +32,14 @@ public function getData()
3132
if ($this->getCustomerReference()) {
3233
$data['customer'] = $this->getCustomerReference();
3334
}
34-
if ($this->getDescription()){
35+
if ($this->getDescription()) {
3536
$data['description'] = $this->getDescription();
3637
}
3738

38-
if ($this->getMetadata()){
39+
if ($this->getMetadata()) {
3940
$this['metadata'] = $this->getMetadata();
4041
}
41-
if ($this->getPaymentMethod()){
42+
if ($this->getPaymentMethod()) {
4243
$this['payment_method'] = $this->getPaymentMethod();
4344
}
4445

@@ -53,7 +54,7 @@ public function getData()
5354
*/
5455
public function getEndpoint()
5556
{
56-
return $this->endpoint.'/setup_intents';
57+
return $this->endpoint . '/setup_intents';
5758
}
5859

5960
/**

src/Message/SetupIntents/Response.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
/**
44
* Stripe Payment Intents Response.
55
*/
6+
67
namespace Omnipay\Stripe\Message\SetupIntents;
78

89
use Omnipay\Common\Message\ResponseInterface;
9-
use Omnipay\Stripe\Message\Response as BaseResponse;;
10+
use Omnipay\Stripe\Message\Response as BaseResponse;
1011

1112
/**
1213
* Stripe Payment Intents Response.

src/Message/SetupIntents/RetrieveSetupIntentRequest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
/**
44
* Stripe Create Payment Method Request.
55
*/
6+
67
namespace Omnipay\Stripe\Message\SetupIntents;
78

89
/**
@@ -36,7 +37,7 @@ public function getData()
3637
*/
3738
public function getEndpoint()
3839
{
39-
return $this->endpoint.'/setup_intents/'.$this->getSetupIntentReference();
40+
return $this->endpoint . '/setup_intents/' . $this->getSetupIntentReference();
4041
}
4142

4243
public function getHttpMethod()

src/PaymentIntentsGateway.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
/**
44
* Stripe Payment Intents Gateway.
55
*/
6-
namespace Omnipay\Stripe;
76

8-
use Omnipay\Stripe\Message\PaymentIntents\Response;
7+
namespace Omnipay\Stripe;
98

109
/**
1110
* Stripe Payment Intents Gateway.
@@ -178,6 +177,7 @@ public function createSetupIntent(array $parameters = array())
178177
{
179178
return $this->createRequest('\Omnipay\Stripe\Message\SetupIntents\CreateSetupIntentRequest', $parameters);
180179
}
180+
181181
/**
182182
* @inheritdoc
183183
*

0 commit comments

Comments
 (0)