@@ -17,7 +17,7 @@ |
||
| 17 | 17 | class AuthorizeTransactionHandler implements AuthorizeTransactionHandlerInterface |
| 18 | 18 | { |
| 19 | 19 | public const ERROR_MESSAGE_AUTHORIZE_TRANSACTION_NOT_SUPPORTED = |
| 20 | - 'Attempt to call authorize transaction on payment method \'%s\' ' . |
|
| 20 | + 'Attempt to call authorize transaction on payment method \'%s\' '. |
|
| 21 | 21 | 'that does not support it'; |
| 22 | 22 | |
| 23 | 23 | /** |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | class AuthorizeOnRegistrationTransactionHandler implements AuthorizeOnRegistrationTransactionHandlerInterface |
| 17 | 17 | { |
| 18 | 18 | public const ERROR_MESSAGE_AUTHORIZE_ON_REGISTRATION_TRANSACTION_NOT_SUPPORTED = |
| 19 | - 'Attempt to call authorize on registration transaction on payment method \'%s\' ' . |
|
| 19 | + 'Attempt to call authorize on registration transaction on payment method \'%s\' '. |
|
| 20 | 20 | 'that does not support it'; |
| 21 | 21 | |
| 22 | 22 | /** |
@@ -55,12 +55,12 @@ |
||
| 55 | 55 | |
| 56 | 56 | $attributes = $xmlElement->attributes(); |
| 57 | 57 | if ($attributes !== null && $xmlElement->count() > 0 && $attributes->count() > 0) { |
| 58 | - $result['@attributes'] = ((array)$attributes)['@attributes']; |
|
| 58 | + $result['@attributes'] = ((array) $attributes)['@attributes']; |
|
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | foreach ($xmlElement->children() as $node) { |
| 62 | 62 | /** @var \SimpleXMLElement $node */ |
| 63 | - $result[$node->getName()] = $node->count() > 0 ? $this->simpleXmlToArray($node) : (string)$node; |
|
| 63 | + $result[$node->getName()] = $node->count() > 0 ? $this->simpleXmlToArray($node) : (string) $node; |
|
| 64 | 64 | } |
| 65 | 65 | |
| 66 | 66 | return $result; |