Skip to content

Commit

Permalink
bump 2.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyraul committed Nov 15, 2017
1 parent 0ab036a commit 4599e0c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Model/Payment/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
class Transaction extends \Magento\Sales\Model\Order\Payment\Transaction
{
const TYPE_FISCAL = 'fiscal_receipt';
const TYPE_FISCAL_REFUND = 'fiscal_receipt_refund';
const TYPE_FISCAL_REFUND = 'fiscal_refund';

/**
* Check whether specified or set transaction type is supported
Expand Down
4 changes: 2 additions & 2 deletions Plugin/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ class Transaction
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*
*/

public function afterGetTransactionTypes(
\Magento\Sales\Model\Order\Payment\Transaction $subject,
$result
) {
return array_merge($result, [
'fiscal_receipt' => __('Fiscal receipt'),
'fiscal_receipt_refund' => __('Fiscal receipt refund'),
'fiscal_refund' => __('Fiscal receipt refund'),
]);
}
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mygento/base",
"type": "magento2-module",
"version": "2.2.3",
"version": "2.2.4",
"license": "OSL-3.0",
"homepage": "https://github.com/mygento/base",
"description": "Mygento Base",
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Mygento_Base" setup_version="2.2.3"></module>
<module name="Mygento_Base" setup_version="2.2.4"></module>
</config>

0 comments on commit 4599e0c

Please sign in to comment.