Skip to content

Commit

Permalink
phpcbf
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Jan 23, 2024
1 parent 868c319 commit bd41f01
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pronamic-pay-adyen.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
*/
add_filter(
'pronamic_pay_gateways',
function( $gateways ) {
function ( $gateways ) {
$gateways[] = new \Pronamic\WordPress\Pay\Gateways\Adyen\Integration(
[
'id' => 'adyen',
Expand Down
2 changes: 1 addition & 1 deletion src/AdditionalData.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public function get_json() {

$properties = array_merge( $properties, $item_properties );

$index++;
++$index;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/Gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function __construct( Config $config ) {

$ideal_issuer_field->set_options(
new CachedCallbackOptions(
function() {
function () {
return $this->get_ideal_issuers();
},
'pronamic_pay_ideal_issuers_' . \md5( \wp_json_encode( $config ) )
Expand Down
2 changes: 1 addition & 1 deletion src/LineItems.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function get_json() {
* @param LineItem $item Line item.
* @return object
*/
function( LineItem $item ) {
function ( LineItem $item ) {
return $item->get_json();
},
$this->get_line_items()
Expand Down
2 changes: 1 addition & 1 deletion src/NotificationsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use JsonSchema\Exception\ValidationException;
use Pronamic\WordPress\Pay\Core\Server;
use Pronamic\WordPress\Pay\Payments\Payment;
use Pronamic\WordPress\Pay\Payments\PaymentStatus as PaymentStatus;
use Pronamic\WordPress\Pay\Payments\PaymentStatus;
use WP_Error;
use WP_REST_Request;

Expand Down
2 changes: 1 addition & 1 deletion src/ReturnController.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function rest_api_init() {
[
'methods' => 'GET',
'callback' => [ $this, 'rest_api_adyen_return' ],
'permission_callback' => function() {
'permission_callback' => function () {
return true;
},
'args' => [
Expand Down

0 comments on commit bd41f01

Please sign in to comment.