Skip to content

Commit

Permalink
Fix "The method parameter $handler is never used" warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Dec 21, 2023
1 parent 988e8ba commit 5472450
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,9 @@ public function fulfill_order( $payment ) {
\add_filter(
'wp_die_handler',
function ( $handler ) {
return '__return_true';
$handler = '__return_true';

return $handler;
}
);

Expand Down

0 comments on commit 5472450

Please sign in to comment.