Skip to content

Commit

Permalink
Fix the "The method parameter $args is never used" warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Sep 27, 2023
1 parent 1e3b3c7 commit 918d67d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ public function page_mollie_payments() {
* @return void
*/
public static function user_profile( $user ) {
$user = $user;

include __DIR__ . '/../views/user-profile.php';
}

Expand Down Expand Up @@ -292,6 +294,8 @@ public function add_payment_meta_box( $post_type, $post ) {
'pronamic_pay_mollie_payment',
\__( 'Mollie', 'pronamic_ideal' ),
function ( $post ) {
$post = $post;

include __DIR__ . '/../views/meta-box-payment.php';
},
$post_type,
Expand Down Expand Up @@ -332,6 +336,8 @@ public function add_subscription_meta_box( $post_type, $post ) {
'pronamic_pay_mollie_subscription',
\__( 'Mollie', 'pronamic_ideal' ),
function ( $post ) {
$post = $post;

include __DIR__ . '/../views/meta-box-subscription.php';
},
$post_type,
Expand Down

0 comments on commit 918d67d

Please sign in to comment.