@@ -30,7 +30,7 @@ |
||
| 30 | 30 | * @return string |
| 31 | 31 | */ |
| 32 | 32 | protected function get_icon() { |
| 33 | - return plugins_url( 'images/paypal/icon-32x32.png', Plugin::$file ); |
|
| 33 | + return plugins_url('images/paypal/icon-32x32.png', Plugin::$file); |
|
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | /** |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | * @return string |
| 31 | 31 | */ |
| 32 | 32 | protected function get_icon() { |
| 33 | - return plugins_url( 'images/ideal/icon-32x32.png', Plugin::$file ); |
|
| 33 | + return plugins_url('images/ideal/icon-32x32.png', Plugin::$file); |
|
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | /** |
@@ -28,11 +28,11 @@ |
||
| 28 | 28 | * |
| 29 | 29 | * @return bool Returns true if the transaction has the specified status, false otherwise. |
| 30 | 30 | */ |
| 31 | - public static function transaction_has_status( MeprTransaction $transaction, $status ) { |
|
| 32 | - if ( is_array( $status ) ) { |
|
| 33 | - return in_array( $transaction->status, $status, true ); |
|
| 31 | + public static function transaction_has_status(MeprTransaction $transaction, $status) { |
|
| 32 | + if (is_array($status)) { |
|
| 33 | + return in_array($transaction->status, $status, true); |
|
| 34 | 34 | } |
| 35 | 35 | |
| 36 | - return ( $transaction->status === $status ); |
|
| 36 | + return ($transaction->status === $status); |
|
| 37 | 37 | } |
| 38 | 38 | } |
@@ -8,4 +8,4 @@ |
||
| 8 | 8 | * @package Pronamic\WordPress\Pay\Extensions\MemberPress |
| 9 | 9 | */ |
| 10 | 10 | |
| 11 | -class_alias( 'Pronamic\WordPress\Pay\Extensions\MemberPress\SofortGateway', 'MeprSofortGateway' ); |
|
| 11 | +class_alias('Pronamic\WordPress\Pay\Extensions\MemberPress\SofortGateway', 'MeprSofortGateway'); |
|
@@ -8,4 +8,4 @@ |
||
| 8 | 8 | * @package Pronamic\WordPress\Pay\Extensions\MemberPress |
| 9 | 9 | */ |
| 10 | 10 | |
| 11 | -class_alias( 'Pronamic\WordPress\Pay\Extensions\MemberPress\CreditCardGateway', 'MeprCreditCardGateway' ); |
|
| 11 | +class_alias('Pronamic\WordPress\Pay\Extensions\MemberPress\CreditCardGateway', 'MeprCreditCardGateway'); |
|
@@ -8,4 +8,4 @@ |
||
| 8 | 8 | * @package Pronamic\WordPress\Pay\Extensions\MemberPress |
| 9 | 9 | */ |
| 10 | 10 | |
| 11 | -class_alias( 'Pronamic\WordPress\Pay\Extensions\MemberPress\DirectDebitGateway', 'MeprDirectDebitGateway' ); |
|
| 11 | +class_alias('Pronamic\WordPress\Pay\Extensions\MemberPress\DirectDebitGateway', 'MeprDirectDebitGateway'); |
|
@@ -8,4 +8,4 @@ |
||
| 8 | 8 | * @package Pronamic\WordPress\Pay\Extensions\MemberPress |
| 9 | 9 | */ |
| 10 | 10 | |
| 11 | -class_alias( 'Pronamic\WordPress\Pay\Extensions\MemberPress\BitcoinGateway', 'MeprBitcoinGateway' ); |
|
| 11 | +class_alias('Pronamic\WordPress\Pay\Extensions\MemberPress\BitcoinGateway', 'MeprBitcoinGateway'); |
|
@@ -8,4 +8,4 @@ |
||
| 8 | 8 | * @package Pronamic\WordPress\Pay\Extensions\MemberPress |
| 9 | 9 | */ |
| 10 | 10 | |
| 11 | -class_alias( 'Pronamic\WordPress\Pay\Extensions\MemberPress\DirectDebitSofortGateway', 'MeprDirectDebitSofortGateway' ); |
|
| 11 | +class_alias('Pronamic\WordPress\Pay\Extensions\MemberPress\DirectDebitSofortGateway', 'MeprDirectDebitSofortGateway'); |
|
@@ -8,4 +8,4 @@ |
||
| 8 | 8 | * @package Pronamic\WordPress\Pay\Extensions\MemberPress |
| 9 | 9 | */ |
| 10 | 10 | |
| 11 | -class_alias( 'Pronamic\WordPress\Pay\Extensions\MemberPress\Gateway', 'MeprPronamicGateway' ); |
|
| 11 | +class_alias('Pronamic\WordPress\Pay\Extensions\MemberPress\Gateway', 'MeprPronamicGateway'); |
|