GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Branch master (645566)
by Jan
04:49
created
src/Message/UpdateCardResponse.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
      * @param RequestInterface $request
18 18
      * @param string $data
19 19
      */
20
-    public function __construct(RequestInterface $request, $data)
20
+    public function __construct( RequestInterface $request, $data )
21 21
     {
22 22
         if ( empty($data) )
23 23
         {
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
         }
26 26
 
27 27
         $this->request = $request;
28
-        $this->data    = $this->xmlDeserialize($data);
28
+        $this->data    = $this->xmlDeserialize( $data );
29 29
     }
30 30
 
31 31
     /**
Please login to merge, or discard this patch.
Braces   +6 added lines, -12 removed lines patch added patch discarded remove patch
@@ -9,18 +9,15 @@  discard block
 block discarded – undo
9 9
 /**
10 10
  * FACPG2 XML Update Token Response
11 11
  */
12
-class UpdateCardResponse extends AbstractResponse
13
-{
12
+class UpdateCardResponse extends AbstractResponse {
14 13
     /**
15 14
      * Constructor
16 15
      *
17 16
      * @param RequestInterface $request
18 17
      * @param string $data
19 18
      */
20
-    public function __construct(RequestInterface $request, $data)
21
-    {
22
-        if ( empty($data) )
23
-        {
19
+    public function __construct(RequestInterface $request, $data) {
20
+        if ( empty($data) ) {
24 21
             throw new InvalidResponseException();
25 22
         }
26 23
 
@@ -33,8 +30,7 @@  discard block
 block discarded – undo
33 30
      *
34 31
      * @return boolean
35 32
      */
36
-    public function isSuccessful()
37
-    {
33
+    public function isSuccessful() {
38 34
         return isset($this->data['Success']) && 'true' === $this->data['Success'];
39 35
     }
40 36
 
@@ -43,8 +39,7 @@  discard block
 block discarded – undo
43 39
      *
44 40
      * @return string
45 41
      */
46
-    public function getMessage()
47
-    {
42
+    public function getMessage() {
48 43
         return isset($this->data['ErrorMsg']) && !empty($this->data['ErrorMsg']) ? $this->data['ErrorMsg'] : null;
49 44
     }
50 45
 
@@ -53,8 +48,7 @@  discard block
 block discarded – undo
53 48
      *
54 49
      * @return string
55 50
      */
56
-    public function getCardReference()
57
-    {
51
+    public function getCardReference() {
58 52
         return isset($this->data['TokenPAN']) ? $this->data['TokenPAN'] : null;
59 53
     }
60 54
 
Please login to merge, or discard this patch.
src/Message/AuthorizeResponse.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
      * @param RequestInterface $request
18 18
      * @param string $data
19 19
      */
20
-    public function __construct(RequestInterface $request, $data)
20
+    public function __construct( RequestInterface $request, $data )
21 21
     {
22 22
         if ( empty($data) )
23 23
         {
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
         }
26 26
 
27 27
         $this->request = $request;
28
-        $this->data    = $this->xmlDeserialize($data);
28
+        $this->data    = $this->xmlDeserialize( $data );
29 29
 
30 30
         $this->verifySignature();
31 31
     }
@@ -48,10 +48,10 @@  discard block
 block discarded – undo
48 48
             $signature .= $this->request->getAcquirerId();
49 49
             $signature .= $this->request->getTransactionId();
50 50
 
51
-            $signature  = base64_encode( sha1($signature, true) );
51
+            $signature  = base64_encode( sha1( $signature, true ) );
52 52
 
53 53
             if ( $signature !== $this->data['Signature'] ) {
54
-                throw new InvalidResponseException('Signature verification failed');
54
+                throw new InvalidResponseException( 'Signature verification failed' );
55 55
             }
56 56
         }
57 57
     }
Please login to merge, or discard this patch.
Braces   +9 added lines, -18 removed lines patch added patch discarded remove patch
@@ -9,18 +9,15 @@  discard block
 block discarded – undo
9 9
 /**
10 10
  * FACPG2 XML Authorize Response
11 11
  */
12
-class AuthorizeResponse extends AbstractResponse
13
-{
12
+class AuthorizeResponse extends AbstractResponse {
14 13
     /**
15 14
      * Constructor
16 15
      *
17 16
      * @param RequestInterface $request
18 17
      * @param string $data
19 18
      */
20
-    public function __construct(RequestInterface $request, $data)
21
-    {
22
-        if ( empty($data) )
23
-        {
19
+    public function __construct(RequestInterface $request, $data) {
20
+        if ( empty($data) ) {
24 21
             throw new InvalidResponseException();
25 22
         }
26 23
 
@@ -37,12 +34,10 @@  discard block
 block discarded – undo
37 34
      *
38 35
      * @return void
39 36
      */
40
-    public function verifySignature()
41
-    {
37
+    public function verifySignature() {
42 38
         if ( isset($this->data['CreditCardTransactionResults']['ResponseCode']) && (
43 39
             '1' == $this->data['CreditCardTransactionResults']['ResponseCode'] ||
44
-            '2' == $this->data['CreditCardTransactionResults']['ResponseCode']) )
45
-        {
40
+            '2' == $this->data['CreditCardTransactionResults']['ResponseCode']) ) {
46 41
             $signature  = $this->request->getMerchantPassword();
47 42
             $signature .= $this->request->getMerchantId();
48 43
             $signature .= $this->request->getAcquirerId();
@@ -61,8 +56,7 @@  discard block
 block discarded – undo
61 56
      *
62 57
      * @return boolean
63 58
      */
64
-    public function isSuccessful()
65
-    {
59
+    public function isSuccessful() {
66 60
         return isset($this->data['CreditCardTransactionResults']['ResponseCode']) && '1' === $this->data['CreditCardTransactionResults']['ResponseCode'];
67 61
     }
68 62
 
@@ -71,8 +65,7 @@  discard block
 block discarded – undo
71 65
      *
72 66
      * @return string
73 67
      */
74
-    public function getCode()
75
-    {
68
+    public function getCode() {
76 69
         return isset($this->data['CreditCardTransactionResults']['ReasonCode']) ? $this->data['CreditCardTransactionResults']['ReasonCode'] : null;
77 70
     }
78 71
 
@@ -81,8 +74,7 @@  discard block
 block discarded – undo
81 74
      *
82 75
      * @return string
83 76
      */
84
-    public function getMessage()
85
-    {
77
+    public function getMessage() {
86 78
         return isset($this->data['CreditCardTransactionResults']['ReasonCodeDescription']) ? $this->data['CreditCardTransactionResults']['ReasonCodeDescription'] : null;
87 79
     }
88 80
 
@@ -91,8 +83,7 @@  discard block
 block discarded – undo
91 83
      *
92 84
      * @return string
93 85
      */
94
-    public function getTransactionReference()
95
-    {
86
+    public function getTransactionReference() {
96 87
         return isset($this->data['CreditCardTransactionResults']['ReferenceNumber']) ? $this->data['CreditCardTransactionResults']['ReferenceNumber'] : null;
97 88
     }
98 89
 }
Please login to merge, or discard this patch.
src/Message/StatusResponse.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,14 +17,14 @@
 block discarded – undo
17 17
      * @param RequestInterface $request
18 18
      * @param string $data
19 19
      */
20
-    public function __construct(RequestInterface $request, $data)
20
+    public function __construct( RequestInterface $request, $data )
21 21
     {
22 22
         if ( empty($data) ) {
23 23
             throw new InvalidResponseException();
24 24
         }
25 25
 
26 26
         $this->request = $request;
27
-        $this->data    = $this->xmlDeserialize($data);
27
+        $this->data    = $this->xmlDeserialize( $data );
28 28
     }
29 29
 
30 30
     /**
Please login to merge, or discard this patch.
Braces   +5 added lines, -10 removed lines patch added patch discarded remove patch
@@ -9,16 +9,14 @@  discard block
 block discarded – undo
9 9
 /**
10 10
  * FACPG2 Transaction Status Response
11 11
  */
12
-class StatusResponse extends AbstractResponse
13
-{
12
+class StatusResponse extends AbstractResponse {
14 13
     /**
15 14
      * Constructor
16 15
      *
17 16
      * @param RequestInterface $request
18 17
      * @param string $data
19 18
      */
20
-    public function __construct(RequestInterface $request, $data)
21
-    {
19
+    public function __construct(RequestInterface $request, $data) {
22 20
         if ( empty($data) ) {
23 21
             throw new InvalidResponseException();
24 22
         }
@@ -32,8 +30,7 @@  discard block
 block discarded – undo
32 30
      *
33 31
      * @return boolean
34 32
      */
35
-    public function isSuccessful()
36
-    {
33
+    public function isSuccessful() {
37 34
         return isset($this->data['ResponseCode']) && '1' === $this->data['ResponseCode'];
38 35
     }
39 36
 
@@ -42,8 +39,7 @@  discard block
 block discarded – undo
42 39
      *
43 40
      * @return string
44 41
      */
45
-    public function getMessage()
46
-    {
42
+    public function getMessage() {
47 43
         return isset($this->data['ReasonCodeDescription']) ? $this->data['ReasonCodeDescription'] : null;
48 44
     }
49 45
 
@@ -52,8 +48,7 @@  discard block
 block discarded – undo
52 48
      *
53 49
      * @return string
54 50
      */
55
-    public function getTransactionReference()
56
-    {
51
+    public function getTransactionReference() {
57 52
         return isset($this->data['ReferenceNumber']) ? $this->data['ReferenceNumber'] : null;
58 53
     }
59 54
 }
Please login to merge, or discard this patch.
src/Message/UpdateCardRequest.php 2 patches
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
         $signature .= $this->getMerchantId();
27 27
         $signature .= $this->getAcquirerId();
28 28
 
29
-        return base64_encode( sha1($signature, true) );
29
+        return base64_encode( sha1( $signature, true ) );
30 30
     }
31 31
 
32 32
     /**
@@ -36,12 +36,12 @@  discard block
 block discarded – undo
36 36
      */
37 37
     public function getData()
38 38
     {
39
-        $this->validate('merchantId', 'merchantPassword', 'acquirerId', 'customerReference', 'cardReference', 'card');
39
+        $this->validate( 'merchantId', 'merchantPassword', 'acquirerId', 'customerReference', 'cardReference', 'card' );
40 40
         $this->getCard()->validate();
41 41
 
42 42
         $data = [
43 43
             'CustomerReference' => $this->getCustomerReference(),
44
-            'ExpiryDate'        => $this->getCard()->getExpiryDate('my'),
44
+            'ExpiryDate'        => $this->getCard()->getExpiryDate( 'my' ),
45 45
             'MerchantNumber'    => $this->getMerchantId(),
46 46
             'Signature'         => $this->generateSignature(),
47 47
             'TokenPAN'          => $this->getCardReference()
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      */
58 58
     public function getCustomerReference()
59 59
     {
60
-        return $this->getParameter('customerReference');
60
+        return $this->getParameter( 'customerReference' );
61 61
     }
62 62
 
63 63
     /**
@@ -65,9 +65,9 @@  discard block
 block discarded – undo
65 65
      *
66 66
      * @param string $value
67 67
      */
68
-    public function setCustomerReference($value)
68
+    public function setCustomerReference( $value )
69 69
     {
70
-        return $this->setParameter('customerReference', $value);
70
+        return $this->setParameter( 'customerReference', $value );
71 71
     }
72 72
 
73 73
     /**
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      */
78 78
     protected function getEndpoint()
79 79
     {
80
-        return parent::getEndpoint() . 'UpdateToken';
80
+        return parent::getEndpoint().'UpdateToken';
81 81
     }
82 82
 
83 83
     /**
@@ -87,9 +87,9 @@  discard block
 block discarded – undo
87 87
      *
88 88
      * @return UpdateCardResponse
89 89
      */
90
-    protected function newResponse($xml)
90
+    protected function newResponse( $xml )
91 91
     {
92
-        return new UpdateCardResponse($this, $xml);
92
+        return new UpdateCardResponse( $this, $xml );
93 93
     }
94 94
 
95 95
 }
Please login to merge, or discard this patch.
Braces   +7 added lines, -14 removed lines patch added patch discarded remove patch
@@ -7,8 +7,7 @@  discard block
 block discarded – undo
7 7
 /**
8 8
  * FACPG2 Update Token Request
9 9
  */
10
-class UpdateCardRequest extends AbstractRequest
11
-{
10
+class UpdateCardRequest extends AbstractRequest {
12 11
     /**
13 12
      * @var string;
14 13
      */
@@ -20,8 +19,7 @@  discard block
 block discarded – undo
20 19
      * @return string base64 encoded sha1 hash of the merchantPassword, merchantId,
21 20
      *    and acquirerId.
22 21
      */
23
-    protected function generateSignature()
24
-    {
22
+    protected function generateSignature() {
25 23
         $signature  = $this->getMerchantPassword();
26 24
         $signature .= $this->getMerchantId();
27 25
         $signature .= $this->getAcquirerId();
@@ -34,8 +32,7 @@  discard block
 block discarded – undo
34 32
      *
35 33
      * @return array
36 34
      */
37
-    public function getData()
38
-    {
35
+    public function getData() {
39 36
         $this->validate('merchantId', 'merchantPassword', 'acquirerId', 'customerReference', 'cardReference', 'card');
40 37
         $this->getCard()->validate();
41 38
 
@@ -55,8 +52,7 @@  discard block
 block discarded – undo
55 52
      *
56 53
      * @return string
57 54
      */
58
-    public function getCustomerReference()
59
-    {
55
+    public function getCustomerReference() {
60 56
         return $this->getParameter('customerReference');
61 57
     }
62 58
 
@@ -65,8 +61,7 @@  discard block
 block discarded – undo
65 61
      *
66 62
      * @param string $value
67 63
      */
68
-    public function setCustomerReference($value)
69
-    {
64
+    public function setCustomerReference($value) {
70 65
         return $this->setParameter('customerReference', $value);
71 66
     }
72 67
 
@@ -75,8 +70,7 @@  discard block
 block discarded – undo
75 70
      *
76 71
      * @return string Endpoint URL
77 72
      */
78
-    protected function getEndpoint()
79
-    {
73
+    protected function getEndpoint() {
80 74
         return parent::getEndpoint() . 'UpdateToken';
81 75
     }
82 76
 
@@ -87,8 +81,7 @@  discard block
 block discarded – undo
87 81
      *
88 82
      * @return UpdateCardResponse
89 83
      */
90
-    protected function newResponse($xml)
91
-    {
84
+    protected function newResponse($xml) {
92 85
         return new UpdateCardResponse($this, $xml);
93 86
     }
94 87
 
Please login to merge, or discard this patch.
src/Message/CreateCardResponse.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
      * @param RequestInterface $request
18 18
      * @param string $data
19 19
      */
20
-    public function __construct(RequestInterface $request, $data)
20
+    public function __construct( RequestInterface $request, $data )
21 21
     {
22 22
         if ( empty($data) )
23 23
         {
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
         }
26 26
 
27 27
         $this->request = $request;
28
-        $this->data    = $this->xmlDeserialize($data);
28
+        $this->data    = $this->xmlDeserialize( $data );
29 29
     }
30 30
 
31 31
     /**
Please login to merge, or discard this patch.
Braces   +6 added lines, -12 removed lines patch added patch discarded remove patch
@@ -9,18 +9,15 @@  discard block
 block discarded – undo
9 9
 /**
10 10
  * FACPG2 XML Tokenize Response
11 11
  */
12
-class CreateCardResponse extends AbstractResponse
13
-{
12
+class CreateCardResponse extends AbstractResponse {
14 13
     /**
15 14
      * Constructor
16 15
      *
17 16
      * @param RequestInterface $request
18 17
      * @param string $data
19 18
      */
20
-    public function __construct(RequestInterface $request, $data)
21
-    {
22
-        if ( empty($data) )
23
-        {
19
+    public function __construct(RequestInterface $request, $data) {
20
+        if ( empty($data) ) {
24 21
             throw new InvalidResponseException();
25 22
         }
26 23
 
@@ -33,8 +30,7 @@  discard block
 block discarded – undo
33 30
      *
34 31
      * @return boolean
35 32
      */
36
-    public function isSuccessful()
37
-    {
33
+    public function isSuccessful() {
38 34
         return isset($this->data['Success']) && 'true' === $this->data['Success'];
39 35
     }
40 36
 
@@ -43,8 +39,7 @@  discard block
 block discarded – undo
43 39
      *
44 40
      * @return string
45 41
      */
46
-    public function getMessage()
47
-    {
42
+    public function getMessage() {
48 43
         return isset($this->data['ErrorMsg']) && !empty($this->data['ErrorMsg']) ? $this->data['ErrorMsg'] : null;
49 44
     }
50 45
 
@@ -53,8 +48,7 @@  discard block
 block discarded – undo
53 48
      *
54 49
      * @return string
55 50
      */
56
-    public function getCardReference()
57
-    {
51
+    public function getCardReference() {
58 52
         return isset($this->data['Token']) ? $this->data['Token'] : null;
59 53
     }
60 54
 
Please login to merge, or discard this patch.
src/Message/RefundRequest.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,7 @@
 block discarded – undo
7 7
 /**
8 8
  * FACPG2 Refund Request
9 9
  */
10
-class RefundRequest extends TransactionModificationRequest
11
-{
10
+class RefundRequest extends TransactionModificationRequest {
12 11
     /**
13 12
      * Flag as a refund
14 13
      *
Please login to merge, or discard this patch.
src/Message/CaptureRequest.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,7 @@
 block discarded – undo
7 7
 /**
8 8
  * FACPG2 Capture Request
9 9
  */
10
-class CaptureRequest extends TransactionModificationRequest
11
-{
10
+class CaptureRequest extends TransactionModificationRequest {
12 11
     /**
13 12
      * Flag as a capture
14 13
      *
Please login to merge, or discard this patch.
src/Message/StatusRequest.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      */
22 22
     public function getData()
23 23
     {
24
-        $this->validate('merchantId', 'merchantPassword', 'acquirerId', 'transactionId');
24
+        $this->validate( 'merchantId', 'merchantPassword', 'acquirerId', 'transactionId' );
25 25
 
26 26
         $data = [
27 27
             'AcquirerId'  => $this->getAcquirerId(),
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      */
41 41
     protected function getEndpoint()
42 42
     {
43
-        return parent::getEndpoint() . 'TransactionStatus';
43
+        return parent::getEndpoint().'TransactionStatus';
44 44
     }
45 45
 
46 46
     /**
@@ -50,8 +50,8 @@  discard block
 block discarded – undo
50 50
      *
51 51
      * @return StatusResponse
52 52
      */
53
-    protected function newResponse($xml)
53
+    protected function newResponse( $xml )
54 54
     {
55
-        return new StatusResponse($this, $xml);
55
+        return new StatusResponse( $this, $xml );
56 56
     }
57 57
 }
Please login to merge, or discard this patch.
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -7,8 +7,7 @@  discard block
 block discarded – undo
7 7
 /**
8 8
  * FACPG2 Transaction Status Request
9 9
  */
10
-class StatusRequest extends AbstractRequest
11
-{
10
+class StatusRequest extends AbstractRequest {
12 11
     /**
13 12
      * @var string;
14 13
      */
@@ -19,8 +18,7 @@  discard block
 block discarded – undo
19 18
      *
20 19
      * @return array
21 20
      */
22
-    public function getData()
23
-    {
21
+    public function getData() {
24 22
         $this->validate('merchantId', 'merchantPassword', 'acquirerId', 'transactionId');
25 23
 
26 24
         $data = [
@@ -38,8 +36,7 @@  discard block
 block discarded – undo
38 36
      *
39 37
      * @return string Endpoint URL
40 38
      */
41
-    protected function getEndpoint()
42
-    {
39
+    protected function getEndpoint() {
43 40
         return parent::getEndpoint() . 'TransactionStatus';
44 41
     }
45 42
 
@@ -50,8 +47,7 @@  discard block
 block discarded – undo
50 47
      *
51 48
      * @return StatusResponse
52 49
      */
53
-    protected function newResponse($xml)
54
-    {
50
+    protected function newResponse($xml) {
55 51
         return new StatusResponse($this, $xml);
56 52
     }
57 53
 }
Please login to merge, or discard this patch.
src/ParameterTrait.php 2 patches
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -9,9 +9,9 @@  discard block
 block discarded – undo
9 9
      *
10 10
      * @return string $value Merchant ID.
11 11
      */
12
-    public function setMerchantId($value)
12
+    public function setMerchantId( $value )
13 13
     {
14
-        return $this->setParameter('merchantId', $value);
14
+        return $this->setParameter( 'merchantId', $value );
15 15
     }
16 16
 
17 17
     /**
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
      */
20 20
     public function getMerchantId()
21 21
     {
22
-        return $this->getParameter('merchantId');
22
+        return $this->getParameter( 'merchantId' );
23 23
     }
24 24
 
25 25
     /**
@@ -27,9 +27,9 @@  discard block
 block discarded – undo
27 27
      *
28 28
      * @return string $value Merchant Password.
29 29
      */
30
-    public function setMerchantPassword($value)
30
+    public function setMerchantPassword( $value )
31 31
     {
32
-        return $this->setParameter('merchantPassword', $value);
32
+        return $this->setParameter( 'merchantPassword', $value );
33 33
     }
34 34
 
35 35
     /**
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function getMerchantPassword()
39 39
     {
40
-        return $this->getParameter('merchantPassword');
40
+        return $this->getParameter( 'merchantPassword' );
41 41
     }
42 42
 
43 43
     /**
@@ -45,9 +45,9 @@  discard block
 block discarded – undo
45 45
      *
46 46
      * @return string $value Acquirer ID.
47 47
      */
48
-    public function setAcquirerId($value)
48
+    public function setAcquirerId( $value )
49 49
     {
50
-        return $this->setParameter('acquirerId', $value);
50
+        return $this->setParameter( 'acquirerId', $value );
51 51
     }
52 52
 
53 53
     /**
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      */
56 56
     public function getAcquirerId()
57 57
     {
58
-        return $this->getParameter('acquirerId');
58
+        return $this->getParameter( 'acquirerId' );
59 59
     }
60 60
 
61 61
     /**
@@ -63,9 +63,9 @@  discard block
 block discarded – undo
63 63
      *
64 64
      * @return boolean $value Require AVS Check.
65 65
      */
66
-    public function setRequireAvsCheck($value)
66
+    public function setRequireAvsCheck( $value )
67 67
     {
68
-        return $this->setParameter('requireAvsCheck', $value);
68
+        return $this->setParameter( 'requireAvsCheck', $value );
69 69
     }
70 70
 
71 71
     /**
@@ -73,6 +73,6 @@  discard block
 block discarded – undo
73 73
      */
74 74
     public function getRequireAvsCheck()
75 75
     {
76
-        return $this->getParameter('requireAvsCheck');
76
+        return $this->getParameter( 'requireAvsCheck' );
77 77
     }
78 78
 }
Please login to merge, or discard this patch.
Braces   +9 added lines, -18 removed lines patch added patch discarded remove patch
@@ -2,23 +2,20 @@  discard block
 block discarded – undo
2 2
 
3 3
 namespace Omnipay\FirstAtlanticCommerce;
4 4
 
5
-trait ParameterTrait
6
-{
5
+trait ParameterTrait {
7 6
     /**
8 7
      * @param string $value Merchant ID.
9 8
      *
10 9
      * @return string $value Merchant ID.
11 10
      */
12
-    public function setMerchantId($value)
13
-    {
11
+    public function setMerchantId($value) {
14 12
         return $this->setParameter('merchantId', $value);
15 13
     }
16 14
 
17 15
     /**
18 16
      * @return string $value Merchant ID.
19 17
      */
20
-    public function getMerchantId()
21
-    {
18
+    public function getMerchantId() {
22 19
         return $this->getParameter('merchantId');
23 20
     }
24 21
 
@@ -27,16 +24,14 @@  discard block
 block discarded – undo
27 24
      *
28 25
      * @return string $value Merchant Password.
29 26
      */
30
-    public function setMerchantPassword($value)
31
-    {
27
+    public function setMerchantPassword($value) {
32 28
         return $this->setParameter('merchantPassword', $value);
33 29
     }
34 30
 
35 31
     /**
36 32
      * @return string $value Merchant Password.
37 33
      */
38
-    public function getMerchantPassword()
39
-    {
34
+    public function getMerchantPassword() {
40 35
         return $this->getParameter('merchantPassword');
41 36
     }
42 37
 
@@ -45,16 +40,14 @@  discard block
 block discarded – undo
45 40
      *
46 41
      * @return string $value Acquirer ID.
47 42
      */
48
-    public function setAcquirerId($value)
49
-    {
43
+    public function setAcquirerId($value) {
50 44
         return $this->setParameter('acquirerId', $value);
51 45
     }
52 46
 
53 47
     /**
54 48
      * @return string $value Acquirer ID.
55 49
      */
56
-    public function getAcquirerId()
57
-    {
50
+    public function getAcquirerId() {
58 51
         return $this->getParameter('acquirerId');
59 52
     }
60 53
 
@@ -63,16 +56,14 @@  discard block
 block discarded – undo
63 56
      *
64 57
      * @return boolean $value Require AVS Check.
65 58
      */
66
-    public function setRequireAvsCheck($value)
67
-    {
59
+    public function setRequireAvsCheck($value) {
68 60
         return $this->setParameter('requireAvsCheck', $value);
69 61
     }
70 62
 
71 63
     /**
72 64
      * @return boolean $value Require AVS Check.
73 65
      */
74
-    public function getRequireAvsCheck()
75
-    {
66
+    public function getRequireAvsCheck() {
76 67
         return $this->getParameter('requireAvsCheck');
77 68
     }
78 69
 }
Please login to merge, or discard this patch.