mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Make webhook nullable to prevent fatal error
This commit is contained in:
parent
a5f308cb9d
commit
1d17a4d3ab
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class WebhookSimulation {
|
|||
*/
|
||||
public function __construct(
|
||||
WebhookEndpoint $webhook_endpoint,
|
||||
Webhook $webhook,
|
||||
?Webhook $webhook,
|
||||
string $event_type
|
||||
) {
|
||||
$this->webhook_endpoint = $webhook_endpoint;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue