X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/b5281bc9ca9adb6fffc9fcba80a95b0d43e45bdd..refs/pull/3387/head:/app/Actions/WebhookFormatter.php diff --git a/app/Actions/WebhookFormatter.php b/app/Actions/WebhookFormatter.php index 5b64a747a..bd0b6853a 100644 --- a/app/Actions/WebhookFormatter.php +++ b/app/Actions/WebhookFormatter.php @@ -116,7 +116,7 @@ class WebhookFormatter public static function getDefault(string $event, Webhook $webhook, $detail, User $initiator, int $initiatedTime): self { - $instance = new static($event, $webhook, $detail, $initiator, $initiatedTime); + $instance = new self($event, $webhook, $detail, $initiator, $initiatedTime); $instance->addDefaultModelFormatters(); return $instance;