mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Fix Psalm errors
This commit is contained in:
parent
e289ed4679
commit
a8b67fbc91
2 changed files with 6 additions and 5 deletions
|
@ -102,7 +102,7 @@ class PayLaterBlockModule implements ModuleInterface {
|
|||
register_block_type(
|
||||
dirname( realpath( __FILE__ ), 2 ),
|
||||
array(
|
||||
'render_callback' => function ( $attributes ) use ( $c ) {
|
||||
'render_callback' => function ( array $attributes ) use ( $c ) {
|
||||
$renderer = $c->get( 'paylater-block.renderer' );
|
||||
ob_start();
|
||||
// phpcs:ignore -- No need to escape it, the PayLaterBlockRenderer class is responsible for escaping.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue