Use correct function signature

This commit is contained in:
Moritz Meißelbach 2024-08-23 15:46:32 +02:00
parent 49150cec0c
commit c088819e7c
No known key found for this signature in database
GPG key ID: 9FDCE7BEB31FA3E5

View file

@ -9,8 +9,7 @@ declare(strict_types=1);
namespace WooCommerce\PayPalCommerce\PayLaterWCBlocks;
use WooCommerce\PayPalCommerce\Vendor\Dhii\Modular\Module\ModuleInterface;
return static function (): ModuleInterface {
return static function (): PayLaterWCBlocksModule {
return new PayLaterWCBlocksModule();
};