Fix PHPCS and Psalm errors

This commit is contained in:
Daniel Dudzic 2024-04-23 15:18:04 +02:00
parent 436fd77587
commit 5aa00d8914
No known key found for this signature in database
GPG key ID: 31B40D33E3465483
3 changed files with 26 additions and 19 deletions

View file

@ -231,6 +231,13 @@ class ApplepayModule implements ModuleInterface {
);
}
/**
* Enqueues the editor assets.
*
* @param ContainerInterface $c The container.
* @param ApplePayButton $button The button.
* @return void
*/
public function load_block_editor_assets( ContainerInterface $c, ApplePayButton $button ): void {
// Enqueue backend scripts.
add_action(