From 6f056d64c0e79fcad4941112cd91a7119e402cd8 Mon Sep 17 00:00:00 2001 From: Craig Paul Date: Mon, 24 Oct 2016 14:35:00 -0600 Subject: [PATCH] Applies php-cs-fixer fixes --- src/CreditCard.php | 2 +- src/Crypt.php | 2 +- src/Customer.php | 2 +- src/Gateway.php | 2 +- src/Gettable.php | 2 +- src/Moneris.php | 2 +- src/Processor.php | 2 +- src/Response.php | 3 +-- src/Settable.php | 2 +- src/Transaction.php | 2 +- src/Validator.php | 2 +- src/Vault.php | 2 +- 12 files changed, 12 insertions(+), 13 deletions(-) diff --git a/src/CreditCard.php b/src/CreditCard.php index e3c42ea..1ca4660 100644 --- a/src/CreditCard.php +++ b/src/CreditCard.php @@ -77,4 +77,4 @@ public static function create(string $number, string $expiry, int $crypt = 7) { return new static($number, $expiry, $crypt); } -} \ No newline at end of file +} diff --git a/src/Crypt.php b/src/Crypt.php index 5ee3de5..45c3701 100644 --- a/src/Crypt.php +++ b/src/Crypt.php @@ -13,4 +13,4 @@ class Crypt const SSL_ENABLED_MERCHANT = 7; const NON_SECURE = 8; const NON_AUTHENTICATED = 9; -} \ No newline at end of file +} diff --git a/src/Customer.php b/src/Customer.php index 0c328af..18a4b8a 100644 --- a/src/Customer.php +++ b/src/Customer.php @@ -68,4 +68,4 @@ public static function create(array $params = []) { return new static($params); } -} \ No newline at end of file +} diff --git a/src/Gateway.php b/src/Gateway.php index 3537938..e6fbeeb 100644 --- a/src/Gateway.php +++ b/src/Gateway.php @@ -276,4 +276,4 @@ public function void($transaction, string $order = null) return $this->process($transaction); } -} \ No newline at end of file +} diff --git a/src/Gettable.php b/src/Gettable.php index 3835e34..e6220b7 100644 --- a/src/Gettable.php +++ b/src/Gettable.php @@ -20,4 +20,4 @@ public function __get(string $property) throw new \InvalidArgumentException('['.get_class($this).'] does not contain a property named ['.$property.']'); } -} \ No newline at end of file +} diff --git a/src/Moneris.php b/src/Moneris.php index fe1381f..571248d 100644 --- a/src/Moneris.php +++ b/src/Moneris.php @@ -98,4 +98,4 @@ public function connect() return $gateway; } -} \ No newline at end of file +} diff --git a/src/Processor.php b/src/Processor.php index 0ad2698..ac3c896 100644 --- a/src/Processor.php +++ b/src/Processor.php @@ -133,4 +133,4 @@ protected static function submit(Transaction $transaction) return $response; } -} \ No newline at end of file +} diff --git a/src/Response.php b/src/Response.php index d98fd13..f52cf7c 100644 --- a/src/Response.php +++ b/src/Response.php @@ -2,7 +2,6 @@ namespace CraigPaul\Moneris; - /** * CraigPaul\Moneris\Response * @@ -239,4 +238,4 @@ public function validate() return $this; } -} \ No newline at end of file +} diff --git a/src/Settable.php b/src/Settable.php index 1c2a9c7..53b52dc 100644 --- a/src/Settable.php +++ b/src/Settable.php @@ -20,4 +20,4 @@ public function __set(string $property, $value) throw new \InvalidArgumentException('['.get_class($this).'] does not contain a property named ['.$property.']'); } } -} \ No newline at end of file +} diff --git a/src/Transaction.php b/src/Transaction.php index 65454fa..ba04176 100644 --- a/src/Transaction.php +++ b/src/Transaction.php @@ -309,4 +309,4 @@ public function validate(SimpleXMLElement $result) return $response; } -} \ No newline at end of file +} diff --git a/src/Validator.php b/src/Validator.php index ff9bcd1..d5f8fa6 100644 --- a/src/Validator.php +++ b/src/Validator.php @@ -24,4 +24,4 @@ public static function set(array $array, string $key) { return isset($array[$key]); } -} \ No newline at end of file +} diff --git a/src/Vault.php b/src/Vault.php index 5c2bb26..317deb9 100644 --- a/src/Vault.php +++ b/src/Vault.php @@ -203,4 +203,4 @@ public function update(string $key, CreditCard $card) return $this->process($transaction); } -} \ No newline at end of file +}