Skip to content

Commit

Permalink
phpcbf
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Oct 9, 2023
1 parent 037408f commit db5d848
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 ) )

Check failure on line 84 in src/Gateway.php

View workflow job for this annotation

GitHub Actions / phpstan / phpstan

Parameter #1 $string of function md5 expects string, string|false given.
Expand Down
2 changes: 1 addition & 1 deletion src/OrderItems.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function get_order_items() {
#[\ReturnTypeWillChange]
public function jsonSerialize() {
$data = \array_map(
static function( OrderItem $item ) {
static function ( OrderItem $item ) {
return $item;
},
$this->get_order_items()
Expand Down

0 comments on commit db5d848

Please sign in to comment.