Skip to content

Commit

Permalink
[chg] PSR1/PSR2 code standard and version upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k3lm committed Feb 9, 2018
1 parent 45561e0 commit a1cda03
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
25 changes: 14 additions & 11 deletions Block/info.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,19 @@

use Magento\Framework\Phrase;
use Magento\Payment\Block\ConfigurableInfo;

//@TODO: Do we really need this?
class Info extends ConfigurableInfo {
/**
* Returns label
*
* @param string $field
*
* @return Phrase
*/
protected function getLabel( $field ) {
return __( $field );
}
class Info extends ConfigurableInfo
{
/**
* Returns label
*
* @param string $field
*
* @return Phrase
*/
protected function getLabel($field)
{
return __($field);
}
}
3 changes: 3 additions & 0 deletions Model/Ui/ConfigProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
/**
* Copyright © 2017 SeQura Engineering. All rights reserved.
*/

namespace Sequra\Partpayments\Model\Ui;

use Magento\Checkout\Model\ConfigProviderInterface;

//@todo: Implement toknization as option

/**
* Class ConfigProvider
*/
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Sequra_Partpayments" setup_version="2.0.1">
<module name="Sequra_Partpayments" setup_version="2.0.2">
<sequence>
<module name="Sequra_Core"/>
</sequence>
Expand Down

0 comments on commit a1cda03

Please sign in to comment.